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.
I've tried editing your code to this
var countrytoshow = new google.maps.LatLng(1.14, 103.55); //// I
added this
var mapOpts = {
mapTypeId: google.maps.MapTypeId.ROADMAP,
center: countrytoshow, //// I added this
scaleControl: true,
scrollwheel: false
}
but the 2 lines I added don't do a thing and the map extents are still
the same as your original code.
Do you know what I'm doing wrong?
For now what I'm doing is I'm trying to zoom the map extents on a
country. From your code, it seems like the zoom extents are based on
where the markers that are most wide apart are.
On Feb 23, 7:37 am, Esa <[email protected]> wrote:
> Yes, the long string is the key and /2/ is the worksheet id. I think
> you can use the worksheet name as well here but haven't tried. I've
> always been using the 'page' number of the worksheet.
>
> The documentation is quite extensive. You can make even queries in
> database style. Here are some words about the
> feed:http://code.google.com/apis/spreadsheets/data/3.0/reference.html#List...
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.