[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-24 Thread Sir Loin of Beef
Thank you! I've learnt a lot from all this. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-23 Thread Esa
From your code, it seems like the zoom extents are based on where the markers that are most wide apart are. Exactly. The last line of populateMap() map.fitBounds(markerBounds); makes that. If you delete that line, you have to give both 'center' and 'zoom' in mapOpts. I can see, you have

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-22 Thread Sir Loin of Beef
Thanks so much once again. I'm going through your code to try to understand it. In this section // following script loads a JSON feed from Google Spreadsheets /script script id=asemat src=http://spreadsheets.google.com/feeds/list/

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-22 Thread Sir Loin of Beef
Thank you! I tried using a worksheet name but it doesn't work. Apparently you can use 2/3/4/5 as the id but once the spreadsheet ordering is changed everything is broken. There's a long discussion on another forum on grabbing the actual worksheet ID and i'm trying to find out more from there.

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-22 Thread Sir Loin of Beef
Thank you. I 'm asking on another forum how to get the worksheet ids as if I use numbers it gets broken when I shift the sheet order around. Anyway, I'm editing your code to have the map centered on a country. As it is it seems to zoom the extents to the markers that are widest apart, which is

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-21 Thread Sir Loin of Beef
I'm so sorry to bother everyone again, but can I request for an explanation of how to use different marker colors to show different classes of animals here, and maybe show a legend somewhere? I've edited Esa's code with what I have in mind. // scans the results and calls makeMarker()

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-21 Thread Esa
1] Add a column to your spreadsheet e.g. 'Symbol'. 2] Fill the column with icon image URL's like: https://chart.googleapis.com/chart?chst=d_map_pin_iconchld=aquarium|00 I would recommend Google Charts Api map pins http://code.google.com/apis/chart/docs/gallery/dynamic_icons.html 3] Set

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-20 Thread Sir Loin of Beef
Thanks so much for all your help, everybody. I am not trying to be difficult, but I'm not terribly IT-literate so I'm trying to keep up. I've corrected the 5th row of data; actually it was just a dummy number but I've replaced it with real lat/long values. I got these lat/ long values by using

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-20 Thread Sir Loin of Beef
Esa, I don't see any markers, I just get a blank screen with no map. I think it's because of the above problem, that the lat/long values are wrong? But anyway could you show me how you made the map? On Feb 20, 10:49 am, Esa esa.ilm...@gmail.com wrote: On Feb 20, 3:55 am, geocode...@gmail.com

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-20 Thread Sir Loin of Beef
Turns out that my lat/longitude columns were swapped. Esa, your map now shows the markers fine. Can I know how you generated the map? On Feb 20, 5:37 pm, Sir Loin of Beef saus...@gmail.com wrote: Esa, I don't see any markers, I just get a blank screen with no map. I think it's because of the

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-20 Thread Esa
On Feb 20, 11:41 am, Sir Loin of Beef saus...@gmail.com wrote: Turns out that my lat/longitude columns were swapped. Esa, your map now shows the markers fine. Can I know how you generated the map? Great. I didn't use any generator. The code is hand written. Feel free to use it. I will add a

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-20 Thread Sir Loin of Beef
Oops. ran into another problem. I'm using google sites to hold the page html, but Google sites doesn't allow scripts in sites hosted by them. Is there any way around this, as I'd like to keep everything self-contained inside Google? -- You received this message because you are subscribed to the

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-20 Thread Sir Loin of Beef
It looks like since Google Sites won't allow embedding scripts, I have to rely on this approach of static maps to show the map instead. http://code.google.com/apis/maps/documentation/staticmaps/ All the marker data is passed to google through the URL. I was wondering if anyone knows how to code

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-19 Thread Sir Loin of Beef
Sorry, here is the correct url. https://spreadsheets.google.com/pub?hl=enhl=enkey=0AhtAXMz4-gWPdGdZWG83WFFYNTFtRlJraGJuOHFXNHcsingle=truegid=1output=html -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group,

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-19 Thread Esa
On Feb 19, 4:42 pm, Sir Loin of Beef saus...@gmail.com wrote: Nothing I've tried has worked. That is probably because the spreadsheet must be made public in order to get the feed. Share Sharing settings.. Change Public on the web Now you have selected 'Publish as a web page' but that

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-19 Thread geocode...@gmail.com
On Feb 19, 9:44 am, Sir Loin of Beef saus...@gmail.com wrote: Sorry, here is the correct url. https://spreadsheets.google.com/pub?hl=enhl=enkey=0AhtAXMz4-gWPdGdZ... The fourth entry is not a valid latitude/longitude. Have you seen this:

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-19 Thread Sir Loin of Beef
Thanks so much for the help. I've made my spreadsheet viewable. https://spreadsheets.google.com/ccc?key=0AhtAXMz4-gWPdGdZWG83WFFYNTFtRlJraGJuOHFXNHchl=en Actually I can't even generate a map, because I was relying on the google spreadsheet wizard at

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-19 Thread geocode...@gmail.com
On Feb 19, 7:59 pm, Sir Loin of Beef saus...@gmail.com wrote: Thanks so much for the help. I've made my spreadsheet viewable. https://spreadsheets.google.com/ccc?key=0AhtAXMz4-gWPdGdZWG83WFFYNTFt... Actually I can't even generate a map, because I was relying on the google spreadsheet wizard

[Google Maps API v3] Re: Can someone walk me through getting my Google spreadsheet lat/longitudes into a Google map?

2011-02-19 Thread Esa
On Feb 20, 3:55 am, geocode...@gmail.com geocode...@gmail.com wrote: The 5th row of the spreadsheet (4th row of data) contains invalid latitude and longitudes (as I also said before) Actually the first ones are invalid too. Latitudes are greater than 100. So they are located above North