Dear Rossko,
Thank you. Yes I manage to deal with the map.setCenter
the only problem how in the begining can I set a zoom level.
On Fri, Aug 6, 2010 at 11:57 PM, Rossko <[email protected]> wrote:
> > How to overcome the shadow?
>
> If you don't want a shadow, don't set one. From the same tutorial -
> http://econym.org.uk/gmap/custom.htm
>
> > Another thing each time I update a point on the map I would like to check
> if
> > the point in the current view if not I want the map to be zoom and centre
> > based on the new lat,long.
>
> Write some code to do that. At the end of whatever you do to "update
> a point", get the bounds of the current map and see if your point of
> interest is inside them.
> The documentation shows some useful methods
> .getBounds()
>
> http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMap2.getBounds
> .containsLatLng()
>
> http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GLatLngBounds.containsLatLng
> .setCenter()
>
> http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMap2.setCenter
>
>
>
> Thank you.
> >
> >
> >
> > On Fri, Aug 6, 2010 at 3:51 PM, Rossko <[email protected]>
> wrote:
> > > > The problem now for each lat long I am want to show the location on
> my
> > > > page. I dont know how to apply my own image to represent the full
> > > > route. How can I do that ?
> >
> > > Example
> > >http://econym.org.uk/gmap/basic16.htm
> >
> > > --
> > > 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]<google-maps-api%[email protected]>
> <google-maps-api%2bunsubscr...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-maps-api?hl=en.- Hide quoted text
> -
> >
> > - Show quoted text -
>
> --
> 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]<google-maps-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api?hl=en.
>
>
--
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.