I've tried to include a small map window in my web photo gallery to
show immediately where the photo was shot, if known. Works fine so
far, but there's a problem with the map centre. There's some
JavaScript code that puts a new marker on the map and centres the map
view to that point. But it doesn't work. Instead, the selected point
is located at the top left corner of the map view. This also reflects
when zooming in and out: Not the centre of the map is kept in place,
but the top left corner. (So if I drag the marker from its corner a
bit more into the view, it moves down and right when zooming in.)

Is it a problem that the map view is only 186 by 133 pixels large? (I
probably could make it a bit higher, but there's really no more width
available. For details, the user can always click to get the full
Google Maps view.) I had to hide some of the predefined contents that
just didn't fit in the area for now. There's only the two zoom buttons
and the (smaller) Google logo left. Maybe Google Maps just isn't made
for such a small scale...

Not published yet, so there's nothing to see in the public.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to