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 good but not what I want since my markers will always
fall within a single country. I added these:
var country = new google.maps.LatLng(1.14, 103.55); /// I added this
var mapOpts = {
mapTypeId: google.maps.MapTypeId.ROADMAP,
center: country, /// I added this
scaleControl: true,
scrollwheel: false
}
var map = new google.maps.Map(document.getElementById("map"),
mapOpts);
// We set zoom and center later by fitBounds()
but it has no effect. Do you know what I'm doing wrong?
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.