[Google Maps API v3] how to get client id for googel places aip

2010-09-22 Thread Astron Infotech
Hello All,


I have registered for google adsense account and have adsense id,now I
want to get client id and signature using that adsense account id so
that I can use google places api...


Regards,
Astron Infotech

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Integration of Google Earth with Google Map Javascript API V3

2010-09-22 Thread Sen Gupta
Hi there,

Is it possible to integrate google earth with Google Maps using
Javascript API V3?

If YES, please provide a link to sample code.

Thanks
Sen Gupta

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Load KML markers before getting user location

2010-09-22 Thread Niklasro
It seems to work but I need to learn whether use onload= in the body
tag or the callback instruction when one or the other is preferred.
Cheers
Niklas

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: using .setRouteIndex to render alternate path

2010-09-22 Thread bmcf
Thanks, Larry, that works. To answer your question, I didn't know that
setting the route index was sufficient to have the alternate path
rendered. Thank you for pointing that out to me.

Brian

On Sep 21, 1:37 pm, "geocode...@gmail.com" 
wrote:
> On Sep 21, 1:03 pm, bmcf  wrote:
>
> > Larry,
>
> > My example is here:
>
> >http://www.brianmcfann.com/examples/example.htm
>
> > I am setting the route index directly by assigning to
> > directionsDisplay.routeIndex rather than calling
> > directionsDisplay.setRouteIndex() because the latter seems not to work
> > when I use a variable or function that resolves to a number (perhaps I
> > am not understanding something about how javascript and/or jquery
> > works in this context). Also, in my experiments, it seems that
> > setRouteIndex() will only set the index once and will cause the script
> > to fail if I try to reset it.
>
> Why are you rendering the directions again after setting the
> routeIndex? That sets it back to 0 (I suspect).
>
> If I comment out this line in the renderDirections alternate-route
> change function:
> //       renderDirections(directionsDisplay.directions);
>
> this works:
>        directionsDisplay.setRouteIndex(parseInt($('#alternate-
> route').attr('value')));
> (it doesn't like it if I leave out the "parseInt"...)
>
>   -- Larry
>
>
>
>
>
> > Thanks,
>
> > Brian
>
> > On Sep 21, 11:03 am, "geocode...@gmail.com" 
> > wrote:
>
> > > On Sep 21, 10:19 am, bmcf  wrote:
>
> > > > No, I am using the DirectionsRenderer to display the routes on the
> > > > map, but I am handling the display of instuctions with my own
> > > > function. The basic problem seems to be that calling setRouteIndex(1)
> > > > or setRouteIndex(2) on the DirectionsRenderer object before calling
> > > > setDirections(result) has no effect -- the DirectionsRenderer still
> > > > renders route 0 on the map, even though calling getRouteIndex shows
> > > > that the route index has been set to 1 or 2 rather than 0. I am able
> > > > to display the instructions for the alternate paths by accessing the
> > > > alternate routes in the result object, but I can't get
> > > > DirectionsRenderer to render the alternate paths on the map.
>
> > > Do you have an example that you can post a link to where it isn't
> > > working?
>
> > > Seems to work for me.
>
> > >   -- Larry
>
> > > > Your answer will be helpful if I have to resort to rendering the paths
> > > > on the map myself.
>
> > > > On Sep 21, 3:33 am, stu  wrote:
>
> > > > > Hi
> > > > > I'd guess that if you are rendering the results to the map yourself,
> > > > > that you can't then use DirectionsRenderer to get to routes.
>
> > > > > I presume you are getting the results object and either using the
> > > > > overview_path or going through the legs, steps etc to build the
> > > > > polyline,
> > > > > In that case you *can* use the result object which has an array of the
> > > > > routes  (as long as the DirectionsRequest has provideRouteAlternatives
> > > > > set to true)
> > > > > if your DirectionsRequest result is called directionsResult, then you
> > > > > just ask for the routes like
> > > > > directionsResult.routes[n]   where n is the index for one of the
> > > > > routes.
>
> > > > > To get your basic polyline path for route number 2:
> > > > > directionsResult.routes[1].overview_path
>
> > > > > Does that help?
> > > > > ...stu
>
> > > > > On Sep 21, 2:52 pm, bmcf  wrote:
>
> > > > > > I should have made it clear that I am not using the .setPanel method
> > > > > > on the DirectionsRenderer, I am trying to handle the display of
> > > > > > directions with my own function.
>
> > > > > > On Sep 20, 2:31 am, bmcf  wrote:
>
> > > > > > > I would like to have the map show alternate routes on demand. It
> > > > > > > initially shows the first route in the "result" by default (there 
> > > > > > > are
> > > > > > > three routes). I tried calling .setRouteIndex(1) and
> > > > > > > then .setDirections(result) on the DirectionsRenderer object but 
> > > > > > > the
> > > > > > > second route was not rendered on the map. Is this not the way to 
> > > > > > > do
> > > > > > > it?
>
> > > > > > > Thanks.- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Save a "dragged" directionsResult (route)

2010-09-22 Thread geocode...@gmail.com
On Sep 22, 7:41 pm, JKurtock  wrote:
> Is it possible to save a directionsResult after it has been dragged by
> a user?
>
> Without dragging, one could save the start and end points, then re-
> call the DirectionsRenderer and get the same route back.  But when the
> user drags the route, a "transitional waypoint" is added, and the
> route is recalculated including that waypoint (apparently with
> stopover:false).  Is the position of that transitional waypoint
> accessible?  If it is, then all of the user waypoints, plus the
> transitional waypoint, could be saved.  The DirectionsRenderer would
> (I assume) render the same directions based on ALL of those waypoints.
>
> Once could save EVERY "step" of the rendered direction, but if the
> DirectionsRenderer was called with that large set of waypoints, the
> rendered route would be (effectively) non-draggable (as every entered
> waypoint would be fixed).
>
> The transitional waypoint is visible (a small dot on the polyline),
> but it does not seem to appear in the Steps of the Leg. Rather, the
> Step just "goes through" the transitional waypoint without any
> indication of that waypoint's position.

Did you see Esa's post in this thread?
http://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/d4b2e1950744aa37/c8bb5e43f845afc4

Is that what you are looking for?

  -- Larry

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Save a "dragged" directionsResult (route)

2010-09-22 Thread JKurtock
Is it possible to save a directionsResult after it has been dragged by
a user?

Without dragging, one could save the start and end points, then re-
call the DirectionsRenderer and get the same route back.  But when the
user drags the route, a "transitional waypoint" is added, and the
route is recalculated including that waypoint (apparently with
stopover:false).  Is the position of that transitional waypoint
accessible?  If it is, then all of the user waypoints, plus the
transitional waypoint, could be saved.  The DirectionsRenderer would
(I assume) render the same directions based on ALL of those waypoints.

Once could save EVERY "step" of the rendered direction, but if the
DirectionsRenderer was called with that large set of waypoints, the
rendered route would be (effectively) non-draggable (as every entered
waypoint would be fixed).

The transitional waypoint is visible (a small dot on the polyline),
but it does not seem to appear in the Steps of the Leg. Rather, the
Step just "goes through" the transitional waypoint without any
indication of that waypoint's position.

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Markers show/hide on map

2010-09-22 Thread geocode...@gmail.com
On Sep 22, 6:20 pm, Sandro007  wrote:
> Hi,
>
> I am trying to make the markers show or hide on a map using the API
> v3.
>
> I need the specific marker group to hide when I click on the checkbox
> and show when I click again.
>
> The http://www.floripaimages.com/testsite2/
> map_gps_test.html">link shows  what my page is.
>
> How can I make this work ? Do I have to change the script ?
>
> I have followed this http://googlemapsapi.blogspot.com/
> 2007/04/v277-gmarker-show-hide-and-ishidden.html">article but I
> believe it is the v2.
>
> Appreciate any help.

Does this help:
http://www.geocodezip.com/v3_MW_example_categories.html

  -- Larry

>
> Tks
>
> Sandro

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Marker Placement not Working Following Map Pan on iPhone

2010-09-22 Thread Michael Johnston
Thanks for verifying this. I was afraid I had made some silly typo
somewhere.

Until this bug gets fixed, can anyone suggest a workaround?  Something
that would allow the placement of a marker following a pan of the
map.  It needs to run on an iPhone with ios4.

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Check if all markers are loaded

2010-09-22 Thread Esa
'visible_changed' event of Marker seems to trigger when the marker is
overlayed on map. Only tested with FF.

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Markers show/hide on map

2010-09-22 Thread Sandro007
Hi,

I am trying to make the markers show or hide on a map using the API
v3.

I need the specific marker group to hide when I click on the checkbox
and show when I click again.

The http://www.floripaimages.com/testsite2/
map_gps_test.html">link shows  what my page is.

How can I make this work ? Do I have to change the script ?

I have followed this http://googlemapsapi.blogspot.com/
2007/04/v277-gmarker-show-hide-and-ishidden.html">article but I
believe it is the v2.

Appreciate any help.

Tks

Sandro

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Best practice for showing/hiding a marker? memory leak in IE8

2010-09-22 Thread Ben Appleton
.setMap(null) works for me to remove markers.  Please provide a link to your
site where it fails to remove markers.

On 23 Sep 2010 02:38, "DRI"  wrote:
>
> changing the above example to use setMap(null) instead of
> setVisible(false) does not work on IE8. It is not able to show/hide
> markers as desired. IE8 slows down to a crawl.
>
> --
> 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...@googlegroups.com.
> To unsubscribe from this group, send email to
google-maps-js-api-v3+unsubscr...@googlegroups.com
.
> For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Polyline arrays in V3

2010-09-22 Thread Nathan Raley
You appear to have left out a descent amount of the v3 code...  From where
you begin creating the marker etc.

Also a live page, even if it isn't working, would help immensely.

On Wed, Sep 22, 2010 at 3:17 PM, Awilson430 wrote:

> I developed a page to read and parse a set of markers and polylines
> with controls to show and hide them based on their categories.  I've
> been able to recreate the markers' functionality in V3 but have thus
> far been unsuccessful converting the polyline code.  Below is the V2
> code that works.
>
> I'm looking for an example of a similar functionality using V3.
>
> Thanks in advance for any light you can shed on the subject.
>
> I've tried referencing the V3 javascript, adding downloadxml.js since
> V3 doesn't support XML parsing, and changed the V2 object names to
> their corresponding V3 names  GLatLng to google.maps.LatLng, etc.  I'm
> probably missing something simple or else V3 doesn't support arrays of
> multiple polylines.
>
>
> V2 code snippet:
> GDownloadUrl("data.xml", function(doc) {
>var xmlDoc = GXml.parse(doc);
>var markers =
> xmlDoc.documentElement.getElementsByTagName("marker");
>var lines =
> xmlDoc.documentElement.getElementsByTagName("line");
>
>for (var i = 0; i < markers.length; i++) {
>  // obtain the attribues of each marker
>  var lat = parseFloat(markers[i].getAttribute("lat"));
>  var lng = parseFloat(markers[i].getAttribute("lng"));
>  var point = new GLatLng(lat,lng);
>  var name = markers[i].getAttribute("name");
>  var html =
> GXml.value(markers[i].getElementsByTagName("infowindow")[0]);
>  var category = markers[i].getAttribute("category");
>  // create the marker
>  var marker = createMarker(point,name,html,category);
>  map.addOverlay(marker);
>  map.addOverlay(geoXml);
>  map.addOverlay(geoXml2);
>}
>
>  // read each line
>  for (var a = 0; a < lines.length; a++) {
>// get any line attributes
>var colour = lines[a].getAttribute("colour");
>var width  = parseFloat(lines[a].getAttribute("width"));
>// read each point on that line
>var points = lines[a].getElementsByTagName("point");
>var category = lines[a].getAttribute("category");
>var pts = [];
>for (var i = 0; i < points.length; i++) {
>   pts[i] = new
> GLatLng(parseFloat(points[i].getAttribute("lat")),
>
> parseFloat(points[i].getAttribute("lng")));
>}
>
>var poly = new
> GPolyline(pts,colour,width[category]);
>poly.mycategory = category;
>map.addOverlay(poly);
>poly.hide();
>gpolylines.push(poly);
>
>  }
>
> V3 code snippet, works for markers, was unable to get polylines to
> work:
>
>  downloadUrl("data.xml", function(doc) {
>  var xml = xmlParse(doc);
>  var markers = xml.documentElement.getElementsByTagName("marker");
>
>for (var i = 0; i < markers.length; i++) {
>  // obtain the attribues of each marker
>  var lat = parseFloat(markers[i].getAttribute("lat"));
>  var lng = parseFloat(markers[i].getAttribute("lng"));
>  var point = new google.maps.LatLng(lat,lng);
>  var address = markers[i].getAttribute("address");
>  var name = markers[i].getAttribute("name");
>  var html = ""+name+"<\/b>"+address;
>  var category = markers[i].getAttribute("category");
>  // create the marker
>  var marker = createMarker(point,name,html,category);
>}
>
> --
> 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...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Event bounds_changed triggers too often, problem

2010-09-22 Thread Drew Noakes
Note that a new event has been added to take care of this.  You don't
need to write this kind of hack any more.

Read about it here: 
http://code.google.com/p/gmaps-api-issues/issues/detail?id=1371

google.maps.event.addListener(map, 'idle', function(event) {
  // fires when movement has stopped
});

On Aug 13, 7:02 am, Luke Mahé  wrote:
> Hi Jurgis,
>
> Instead of bounds_changed you can listen to 'idle' or if you want to go down
> the timeout approach, you will need to cancel the timeout before creating
> another one.
>
> var myTimeout;
> google.maps.event.addListener(map, 'bounds_changed', function() {
>   if (myTimeout) {
>     window.clearTimeout(myTimeout);
>   }
>
>   myTimeout = window.setTimeout(readDataFromDB, 2000);
>
> });
>
> Hope this helps
>
> -- Luke
>
> On Fri, Aug 13, 2010 at 3:49 PM, Jurgis Stepanovs <
>
>
>
> jurgis.stepan...@gmail.com> wrote:
> > Hi!
>
> >  I use code bellow to read markers from DB, when user visible map area
> > changes.
> >  ...
> >         google.maps.event.addListener(map, 'bounds_changed', function() {
> > //
> > bounds_changed or zoom_changed or center_changed
> >                                readDataFromDB;
> >        });
>
> >  ...
> > But serious problem is that listener executes to often 3 or 4 times
> > when expecting only 1, and my
> > DB server gets huge loads of unnecessary queries. I think most on fast
> > mouse wheeling (zooming in and out).
>
> > How to set this trigger to work more slowly?
>
> > I tried setTimeout(readDataFromDB(),2000), but it seems not to do
> > right thing, because
> > I suppose that during that timeout happens more bounds_change events
> > that waits
> > for JavasScript code execution loop. At the end  code is executed also
> > 3,4 times, but with 2sec
> > delay.
>
> > Todays Internet user is a lot using mouse wheel, and a lots moving
> > around with mouse, and it will kill my application if things will not
> > change ;)
>
> > I suggest Google API 3 engineers to implement this timeout option
> > directly
> > in the core of 'bounds_changed' listener.
>
> > May be someone has developed solution already?
>
> > PS I’m testing app on Chrome and IE …
>
> > --
> > 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...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-js-api-v3+unsubscr...@googlegroups.com > unsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Check if all markers are loaded

2010-09-22 Thread tjeerdkramer
Hi,

Is there some way I can check if all markers have succesfully been
placed on the map? I'd like to continue the rest of my script *after*
all markers have actually been fully loaded onto the map.

Some event listerner I can use?



-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Polyline arrays in V3

2010-09-22 Thread Awilson430
I developed a page to read and parse a set of markers and polylines
with controls to show and hide them based on their categories.  I've
been able to recreate the markers' functionality in V3 but have thus
far been unsuccessful converting the polyline code.  Below is the V2
code that works.

I'm looking for an example of a similar functionality using V3.

Thanks in advance for any light you can shed on the subject.

I've tried referencing the V3 javascript, adding downloadxml.js since
V3 doesn't support XML parsing, and changed the V2 object names to
their corresponding V3 names  GLatLng to google.maps.LatLng, etc.  I'm
probably missing something simple or else V3 doesn't support arrays of
multiple polylines.


V2 code snippet:
GDownloadUrl("data.xml", function(doc) {
var xmlDoc = GXml.parse(doc);
var markers =
xmlDoc.documentElement.getElementsByTagName("marker");
var lines = xmlDoc.documentElement.getElementsByTagName("line");

for (var i = 0; i < markers.length; i++) {
  // obtain the attribues of each marker
  var lat = parseFloat(markers[i].getAttribute("lat"));
  var lng = parseFloat(markers[i].getAttribute("lng"));
  var point = new GLatLng(lat,lng);
  var name = markers[i].getAttribute("name");
  var html =
GXml.value(markers[i].getElementsByTagName("infowindow")[0]);
  var category = markers[i].getAttribute("category");
  // create the marker
  var marker = createMarker(point,name,html,category);
  map.addOverlay(marker);
  map.addOverlay(geoXml);
  map.addOverlay(geoXml2);
}

  // read each line
  for (var a = 0; a < lines.length; a++) {
// get any line attributes
var colour = lines[a].getAttribute("colour");
var width  = parseFloat(lines[a].getAttribute("width"));
// read each point on that line
var points = lines[a].getElementsByTagName("point");
var category = lines[a].getAttribute("category");
var pts = [];
for (var i = 0; i < points.length; i++) {
   pts[i] = new
GLatLng(parseFloat(points[i].getAttribute("lat")),
 
parseFloat(points[i].getAttribute("lng")));
}

var poly = new GPolyline(pts,colour,width[category]);
poly.mycategory = category;
map.addOverlay(poly);
poly.hide();
gpolylines.push(poly);

  }

V3 code snippet, works for markers, was unable to get polylines to
work:

 downloadUrl("data.xml", function(doc) {
  var xml = xmlParse(doc);
  var markers = xml.documentElement.getElementsByTagName("marker");

for (var i = 0; i < markers.length; i++) {
  // obtain the attribues of each marker
  var lat = parseFloat(markers[i].getAttribute("lat"));
  var lng = parseFloat(markers[i].getAttribute("lng"));
  var point = new google.maps.LatLng(lat,lng);
  var address = markers[i].getAttribute("address");
  var name = markers[i].getAttribute("name");
  var html = ""+name+"<\/b>"+address;
  var category = markers[i].getAttribute("category");
  // create the marker
  var marker = createMarker(point,name,html,category);
}

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Sliding side panel

2010-09-22 Thread Nathan Raley
He meant that is doesn't have to do with the Maps API but rather JavaScript
and CSS manipulation instead.

On Wed, Sep 22, 2010 at 1:04 PM, sgiddings  wrote:

> Sorry, but that means that you have not understood my question.
>
> I want to achieve the same behaviour as the public interface.
> That is, no flashing on the map when removing a side panel and keeping
> the map position.
>
> On Sep 22, 6:57 pm, Grok Lobster  wrote:
> > Nothing to do with the Maps API.
> >
> > On Sep 22, 7:00 am, sgiddings  wrote:
> >
> > > Hello,
> >
> > > I would like to be able to produce a similar sliding side panel effect
> > > as that which can be currently seen on the general maps site.
> >
> > > So far I have a two div's
> > > 1. full side panel
> > > 2. "closed" side panel
> >
> > > My problem is that, when I hide the full side panel to show the closed
> > > side panel, at first the map would move over to the left.  This is
> > > normal.
> > > So here is what I was doing to keep the map position "static" on the
> > > screen -
> >
> > > // get the map div
> > > vMap = document.getElementById("carte");
> > > // get the "closed" side panel div
> > > vClosedOpts = document.getElementById("closed-options");
> > > // disable the map object UI
> > > vCarte.setOptions({disableDefaultUI: true });
> > > // get the current center of the map as a LatLng object
> > > vCtr = vCarte.getCenter();
> > > // convert it to pixels using a custom overlay projection
> > > vPt = vOverlay.getProjection().fromLatLngToContainerPixel(vCtr);
> > > // adjust the x position to cover the now closed side panel area
> > > vPt.x -= 180;
> > > // convert back to latlng positioning
> > > vCtr = vOverlay.getProjection().fromContainerPixelToLatLng(vPt);
> > > // update the map center
> > > vCarte.setCenter(vCtr);
> > > // set the width of the closed panel bar
> > > vClosedOpts.style.width = "20px";
> > > // update the map div position
> > > vMap.style.left = "20px";
> > > vMap.style.marginRight = "20px";
> > > // re-enable the UI
> > > vCarte.setOptions({disableDefaultUI: false });
> >
> > > This works well.  However, the map flashes during this process (which
> > > is why I tried using the disableDefaultUI option) and as I would like
> > > to use a "sliding" panel effect I would like to know if there would be
> > > a better way of doing this ?
> > > In addition - what would be the best way of implementing the sliding
> > > part ?
> >
> > > Hope I have given enough info here.
>
> --
> 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...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Find a marker by its latlng

2010-09-22 Thread spitzbot
I was afraid of that.

Thanks Larry.

On Sep 22, 2:40 pm, "geocode...@gmail.com" 
wrote:
> On Sep 22, 11:12 am, spitzbot  wrote:
>
> > How do you get a reference to a marker object if I know it's latlng? I
> > want something like
>
> > var marker = map.markers.find(latlng);
>
> 1. when you create markers you keep references to them in an array
> 2. when you need to find a marker, you iterate through the array
> looking for the one that matches your criteria.
>
>   -- Larry
>
>
>
> > Thanks

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Find a marker by its latlng

2010-09-22 Thread geocode...@gmail.com
On Sep 22, 11:12 am, spitzbot  wrote:
> How do you get a reference to a marker object if I know it's latlng? I
> want something like
>
> var marker = map.markers.find(latlng);

1. when you create markers you keep references to them in an array
2. when you need to find a marker, you iterate through the array
looking for the one that matches your criteria.

  -- Larry

>
> Thanks

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Find a marker by its latlng

2010-09-22 Thread spitzbot
How do you get a reference to a marker object if I know it's latlng? I
want something like

var marker = map.markers.find(latlng);

Thanks

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Sliding side panel

2010-09-22 Thread sgiddings
Sorry, but that means that you have not understood my question.

I want to achieve the same behaviour as the public interface.
That is, no flashing on the map when removing a side panel and keeping
the map position.

On Sep 22, 6:57 pm, Grok Lobster  wrote:
> Nothing to do with the Maps API.
>
> On Sep 22, 7:00 am, sgiddings  wrote:
>
> > Hello,
>
> > I would like to be able to produce a similar sliding side panel effect
> > as that which can be currently seen on the general maps site.
>
> > So far I have a two div's
> > 1. full side panel
> > 2. "closed" side panel
>
> > My problem is that, when I hide the full side panel to show the closed
> > side panel, at first the map would move over to the left.  This is
> > normal.
> > So here is what I was doing to keep the map position "static" on the
> > screen -
>
> > // get the map div
> > vMap = document.getElementById("carte");
> > // get the "closed" side panel div
> > vClosedOpts = document.getElementById("closed-options");
> > // disable the map object UI
> > vCarte.setOptions({disableDefaultUI: true });
> > // get the current center of the map as a LatLng object
> > vCtr = vCarte.getCenter();
> > // convert it to pixels using a custom overlay projection
> > vPt = vOverlay.getProjection().fromLatLngToContainerPixel(vCtr);
> > // adjust the x position to cover the now closed side panel area
> > vPt.x -= 180;
> > // convert back to latlng positioning
> > vCtr = vOverlay.getProjection().fromContainerPixelToLatLng(vPt);
> > // update the map center
> > vCarte.setCenter(vCtr);
> > // set the width of the closed panel bar
> > vClosedOpts.style.width = "20px";
> > // update the map div position
> > vMap.style.left = "20px";
> > vMap.style.marginRight = "20px";
> > // re-enable the UI
> > vCarte.setOptions({disableDefaultUI: false });
>
> > This works well.  However, the map flashes during this process (which
> > is why I tried using the disableDefaultUI option) and as I would like
> > to use a "sliding" panel effect I would like to know if there would be
> > a better way of doing this ?
> > In addition - what would be the best way of implementing the sliding
> > part ?
>
> > Hope I have given enough info here.

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Sliding side panel

2010-09-22 Thread Grok Lobster
Nothing to do with the Maps API.

On Sep 22, 7:00 am, sgiddings  wrote:
> Hello,
>
> I would like to be able to produce a similar sliding side panel effect
> as that which can be currently seen on the general maps site.
>
> So far I have a two div's
> 1. full side panel
> 2. "closed" side panel
>
> My problem is that, when I hide the full side panel to show the closed
> side panel, at first the map would move over to the left.  This is
> normal.
> So here is what I was doing to keep the map position "static" on the
> screen -
>
> // get the map div
> vMap = document.getElementById("carte");
> // get the "closed" side panel div
> vClosedOpts = document.getElementById("closed-options");
> // disable the map object UI
> vCarte.setOptions({disableDefaultUI: true });
> // get the current center of the map as a LatLng object
> vCtr = vCarte.getCenter();
> // convert it to pixels using a custom overlay projection
> vPt = vOverlay.getProjection().fromLatLngToContainerPixel(vCtr);
> // adjust the x position to cover the now closed side panel area
> vPt.x -= 180;
> // convert back to latlng positioning
> vCtr = vOverlay.getProjection().fromContainerPixelToLatLng(vPt);
> // update the map center
> vCarte.setCenter(vCtr);
> // set the width of the closed panel bar
> vClosedOpts.style.width = "20px";
> // update the map div position
> vMap.style.left = "20px";
> vMap.style.marginRight = "20px";
> // re-enable the UI
> vCarte.setOptions({disableDefaultUI: false });
>
> This works well.  However, the map flashes during this process (which
> is why I tried using the disableDefaultUI option) and as I would like
> to use a "sliding" panel effect I would like to know if there would be
> a better way of doing this ?
> In addition - what would be the best way of implementing the sliding
> part ?
>
> Hope I have given enough info here.

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Cannot open google map marker from sidebar list

2010-09-22 Thread tinem
Maybe it's easier for you to look at in a site outside Drupal -
http://api.tinemuller.dk/NEW_storelocator_v3_tutorial/phpsqlsearch_map.html

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Best practice for showing/hiding a marker? memory leak in IE8

2010-09-22 Thread DRI

changing the above example to use setMap(null) instead of
setVisible(false) does not work on IE8. It is not able to show/hide
markers as desired. IE8 slows down to a crawl.

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Question about setContent of InfoWindow

2010-09-22 Thread CSharp
I know that an InfoWindow can be contain contents that is set by using
an HTML string from the javascript or an HTML Node.  What I'm
interested in is the HTML Node for which I've seem to have made
working for months, but at times things don't seem to be stable with
having the HTML Node elements in the InfoWindow.

What I have been doing is that during initialization of the map, I
also create one InfoWindow that will stay open indefinitely when a
mouseclick occurs over a marker and another InfoWindow that opens and
closes for each mouseover and mouseout event on a marker.  During the
initializing function, I also set the Content by passing in the
document.getElementById of the respective DIV container ID's for these
two InfoWindows.  These DIV's are written out in HTML and are located
either above or beneath the Google Map's DIV (I have both of the
InfoWindows content nodes beneath but they can be located anywhere -
correct me if I'm wrong on this).  Anyway, I go through the normal
process of creating the markers; and for each marker, I set the events
of the mouseover, mouseout, and click for the marker to the associated
InfoWindow.  But as you can see, I do not setContent for any of these
event calls.

So, my question is, by setting the content of the InfoWindow once, is
that OK or do I have to set the content every time that the marker
event is called?  I know that all the examples I see do that, but what
if the content containers remain the same except that parts of the
content information inside these containers only changes.  So, I
change only the content within the containers within these
InfoWindows.  This is done by using jQuery or plain old javascript to
get at the inner node elements.  But what I'm finding out sometimes
through debugging the javascript in Chrome, FireFox (using FireBug),
and in IE (using VS2010), the elements within the InfoWindow's content
gets wiped out.

I don't have the complex solution to show to let someone go through
the page that I'm working on at the moment, but here are some pages to
show how I actually create the InfoWindow.

http://www.mentoreng.com/testing/maps/public/map2.html

I'll try and post a link with a more complex Javascript code to show
that the DOM node within the InfoWindow getting wiped out.  This
happens quite frequently in Chrome and Safari.

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Cannot open google map marker from sidebar list

2010-09-22 Thread tinem
Maybe you can see what you are missing in my file
http://www.tinemuller.dk/new_new_test_drupal/sites/all/storelocator2/storelocator2.js
which I use in Drupal http://www.tinemuller.dk/new_new_test_drupal/node/1394.

Then maybe YOU can tell me have many places and files where I need to
put in extra code if I want to show some more info in infowindow?



-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Firing a Cick Event

2010-09-22 Thread geocode...@gmail.com
On Sep 22, 7:24 am, Jason Jonas  wrote:
> On Sep 22, 9:17 am, "geocode...@gmail.com" 
> wrote:
>
>
>
> > That is a different question.  I think there have been some
> > discussions of how to do that on the v2 group (I don't remember seeing
> > any here).  You might try searching over there, the concepts should
> > apply.
>
> Hmmm... In my original post I mentioned that I know how to accomplish
> this in v2 and how I made what I thought were the right changes for
> v3. I may not be following you, though. Are you talking about
> something different?

Nope.  Sorry I missed that piece of your message.

  -- Larry

>
> Jason

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Firing a Cick Event

2010-09-22 Thread Jason Jonas
On Sep 22, 9:17 am, "geocode...@gmail.com" 
wrote:
>
> That is a different question.  I think there have been some
> discussions of how to do that on the v2 group (I don't remember seeing
> any here).  You might try searching over there, the concepts should
> apply.
>

Hmmm... In my original post I mentioned that I know how to accomplish
this in v2 and how I made what I thought were the right changes for
v3. I may not be following you, though. Are you talking about
something different?

Jason

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Firing a Cick Event

2010-09-22 Thread geocode...@gmail.com
On Sep 22, 7:11 am, Jason Jonas  wrote:
> On Sep 22, 8:53 am, "geocode...@gmail.com" 
> wrote:
>
>
>
> > Did you try:
> > javascript:google.maps.event.trigger(mCR, "click");
> > (entering that in the address bar opens an infowindow for me (on the
> > mCR marker)).
>
> Hey, Larry.
>
> Thanks for taking a look.
>
> I just tried that and it certainly opens the InfoWindow associated
> with the marker, but the map still doesn't have focus until I
> physically click inside the map.

That is a different question.  I think there have been some
discussions of how to do that on the v2 group (I don't remember seeing
any here).  You might try searching over there, the concepts should
apply.

  -- Larry

>
> Jason

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Firing a Cick Event

2010-09-22 Thread Jason Jonas
On Sep 22, 8:53 am, "geocode...@gmail.com" 
wrote:
>
> Did you try:
> javascript:google.maps.event.trigger(mCR, "click");
> (entering that in the address bar opens an infowindow for me (on the
> mCR marker)).
>

Hey, Larry.

Thanks for taking a look.

I just tried that and it certainly opens the InfoWindow associated
with the marker, but the map still doesn't have focus until I
physically click inside the map.

Jason

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Sliding side panel

2010-09-22 Thread sgiddings
Hello,

I would like to be able to produce a similar sliding side panel effect
as that which can be currently seen on the general maps site.

So far I have a two div's
1. full side panel
2. "closed" side panel

My problem is that, when I hide the full side panel to show the closed
side panel, at first the map would move over to the left.  This is
normal.
So here is what I was doing to keep the map position "static" on the
screen -

// get the map div
vMap = document.getElementById("carte");
// get the "closed" side panel div
vClosedOpts = document.getElementById("closed-options");
// disable the map object UI
vCarte.setOptions({disableDefaultUI: true });
// get the current center of the map as a LatLng object
vCtr = vCarte.getCenter();
// convert it to pixels using a custom overlay projection
vPt = vOverlay.getProjection().fromLatLngToContainerPixel(vCtr);
// adjust the x position to cover the now closed side panel area
vPt.x -= 180;
// convert back to latlng positioning
vCtr = vOverlay.getProjection().fromContainerPixelToLatLng(vPt);
// update the map center
vCarte.setCenter(vCtr);
// set the width of the closed panel bar
vClosedOpts.style.width = "20px";
// update the map div position
vMap.style.left = "20px";
vMap.style.marginRight = "20px";
// re-enable the UI
vCarte.setOptions({disableDefaultUI: false });

This works well.  However, the map flashes during this process (which
is why I tried using the disableDefaultUI option) and as I would like
to use a "sliding" panel effect I would like to know if there would be
a better way of doing this ?
In addition - what would be the best way of implementing the sliding
part ?

Hope I have given enough info here.

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Firing a Cick Event

2010-09-22 Thread geocode...@gmail.com
On Sep 22, 6:34 am, Jason Jonas  wrote:
> I have a number of users that prefer to use the keyboard to navigate
> the map. After the map is loaded I've used the following v2 code to
> generate a click event so the map has the focus:
>
> var event = {srcElement: map_canvas, target: map_canvas, nodeType: 1};
> GEvent.trigger(document, "click", event);
>
> After reading through the v3 event info, it seemed simple enough to
> change it to:
>
> var event = {srcElement: map_canvas, target: map_canvas, nodeType: 1};
> google.maps.event.trigger(document, "click", event);
>
> No dice. So I kept reading and found that the click event on a map has
> a MouseEvent argument. So I tried:
>
> var event = new google.maps.event.MouseEvent(new
> google.maps.LatLng(0,0));
> google.maps.event.trigger(map, "click", event);
>
> No dice. I tried a few other things to no avail. The page is:
>
> http://spotwalla.com/v32.php
>
> Any help is appreciated. Thanks.

Did you try:
javascript:google.maps.event.trigger(mCR, "click");
(entering that in the address bar opens an infowindow for me (on the
mCR marker)).

  -- Larry

>
> Jason

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Firing a Cick Event

2010-09-22 Thread Jason Jonas
I have a number of users that prefer to use the keyboard to navigate
the map. After the map is loaded I've used the following v2 code to
generate a click event so the map has the focus:

var event = {srcElement: map_canvas, target: map_canvas, nodeType: 1};
GEvent.trigger(document, "click", event);

After reading through the v3 event info, it seemed simple enough to
change it to:

var event = {srcElement: map_canvas, target: map_canvas, nodeType: 1};
google.maps.event.trigger(document, "click", event);

No dice. So I kept reading and found that the click event on a map has
a MouseEvent argument. So I tried:

var event = new google.maps.event.MouseEvent(new
google.maps.LatLng(0,0));
google.maps.event.trigger(map, "click", event);

No dice. I tried a few other things to no avail. The page is:

http://spotwalla.com/v32.php

Any help is appreciated. Thanks.

Jason

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Getting clicked location on Google maps

2010-09-22 Thread Niklasro
I'm glad you found it. It's upgrading this week solving the problem
more minimalistic even if it already works for you.
Best regards

On Sep 22, 9:21 am, Peter  wrote:
> Hi Nick,
>
> Your example page is exactly what I need! :)
> I looked at the source code of your page, but that javascript there is
> a bit too complex for me :)
> Also I dont think I need it all.
>
> Do you have a code snippet (not sure how or where to use the code
> snippet you provide in your post) that catches the click event and
> returns the longitude and latitude? Thats basically all I need for
> now!
>
> Thanks again!
>
> On Sep 22, 11:13 am, Niklasro  wrote:
>
> > On Sep 21, 11:46 am, Peter  wrote:> I want users to 
> > be able to click on a worldmap. Then, when theyu click
> > > I get the longitude and latitude of the clicked location and store
> > > them in two textboxes...
> > > Where can I find how to do that?
>
> > Dear Peter
> > You're most welcome look at my example upgrading to API 
> > 3www.koolbusiness.com/ai
> > It finds longitude, latitude and also location name implementing
> > javascript like
> > place=response.Placemark[0];
> > point=new
> > GLatLng(place.Point.coordinates[1],place.Point.coordinates[0]);
> > I hope similar works for you
> > Regards
> > Nick Rosencrantz

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] 中国地图和卫星地图不 能重合的问题

2010-09-22 Thread x km
你好!

http://ditu.google.cn在混合模式下电子地图和卫星地图可以很好的重合,但我用API
v3写出来的地图就不能重合,请问该如何解决?我在中国区域。我调用google api 时使用:
http://ditu.google.com/api..region=cn
,用google其他地址api也都试过,都不能在混合模式下重合,但不清楚http://ditu.google.cn
又是如何做到重合的?而提供的api又不能重合。

由于被禁用,我不能访问google论坛,发此邮件求助,不知能否得到帮助!谢谢

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Markers and PolyLines overlay order

2010-09-22 Thread mcab
Having just started using Polylines they seem to be rendered below
markers.  Can this be changed?  Using zIndex does not seem to make any
difference.  Presumably that only works withing the set of polylines.
Regards
mcab

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Geocoding - region biasing removes valid results

2010-09-22 Thread Džavy
Let me show one example of geocoding in Czech Republic:

If I geocode "Vrbka" with no region biasing, I get approx. 9 results,
all of them in Czech Republic and all of them are correct (locality,
sublocality, etc). If I geocode "Vrbka" with region biased to CZ, I
get only ONE result - the locality one. I'd really need other types to
be returned as well because...

If I geocode "Katovice" with no region biasing, I get Katovice in
Poland. If I geocode "Katovice" with region biased to CZ, I get
Katovice in Czech Republic.

The thing is if I want to find Czech Katovice, I have to bias. But if
I want to find all Czech Vrbka's, I have to remove biasing.

Is there any way how to fix it, please?

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] API for "Post to your place page"?

2010-09-22 Thread Nicolas Dengler
I'm looking for a way to post messages to my place page via the API.
Is this possible?

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Getting clicked location on Google maps

2010-09-22 Thread Peter
Hi Martin,

That works, thanks! :)

On Sep 22, 11:27 am, Martin  wrote:
> Hi..
>
> The map variable needs to be a reference to the google.maps.Map object
> and it needs to be accessed from within the getMapClick() function.
>
> Do you create your google.maps.Map object in a function?
> If so then once that function has executed there is no reference to
> the Map left.
>
> Typically you'd declare the 'map' variable at the start of your code,
> outside of any functions:
>
> // create a global variable
> var map:
>
> Then in the function where you create your map, instead of defining
> the 'map' variable like this:
>
> var map=new google.maps.Map(blah blah);
>
> The 'map' variable is already defined so you'd do this:
>
> map=new google.maps.Map(blah blah);
>
> You've then created a global variable 'map' and defined it's value
> (the google.maps.Map object) in a function.
> The 'map' variable is now accessible from anywhere in your code -
> including the getMapClick() function.
>
> Martin.
>
> On 22 Sep, 09:43, Peter  wrote:
>
> > Problem is that the site is not live yet...
> > But my question is more: what should I put in this map variable? Is it
> > a reference to the map_canvas?
> > If so, would this suffice: var map =
> > document.getElementById('map_canvas'); ?
>
> > On Sep 22, 1:42 am, Martin  wrote:
>
> > > Post a link to your map - that's the only way me or someone else can
> > > suggest some code to fix it.
>
> > > Martin.
>
> > > On 21 Sep, 23:46, Peter  wrote:
>
> > > > Indeed, didnt see that the first time, but indeed I get js error: "map
> > > > is not defined"
> > > > So what should I do about that?
>
> > > > On Sep 21, 11:27 pm, Martin  wrote:
>
> > > > > Ooops...
>
> > > > > Forgot to ask - you do have a global variable named 'map' do you that
> > > > > can be accessed by the function?
> > > > > If not then the listener will not be created - and you should see an
> > > > > error reported in your browser.
> > > > > Something like 'map is undefined'?
>
> > > > > Martin.
>
> > > > > On 21 Sep, 21:58, Peter  wrote:
>
> > > > > > Ok, so now I have:
> > > > > >         
> > > > > >             
> > > > > >             
> > > > > >              > > > > > onclick="javascript:getMapClick();">Enable map click 
> > > > > >              > > > > > div>
> > > > > >         
>
> > > > > > and javascript in external .js file:
>
> > > > > > function getMapClick(){
> > > > > >     //      get the LatLng of the map click and complete the search
> > > > > > form's address box with that value to 4 decimal places
> > > > > >     alert('hi 1');
> > > > > >     var listener = google.maps.event.addListener(map, 'click',
> > > > > >             function (clickEvent) {
> > > > > >                 alert('hi 2');
> > > > > >                 var myForm = document.forms.myFormId, latLng =
> > > > > > clickEvent.latLng, lat = latLng.lat(), lng = latLng.lng();
> > > > > >                 myForm.lat.value = lat;
> > > > > >                 myForm.lng.value = lng;
> > > > > >                 //      remove the event listener
> > > > > >                 google.maps.event.removeListener(listener);
> > > > > >                 listener = null;
> > > > > >             });
>
> > > > > > };
>
> > > > > > when I click on the 'Enable map click' link, the first 'hi 1' is
> > > > > > displayed, but the 'hi 2' not...what is going wrong?
>
> > > > > > On Sep 21, 10:28 pm, Martin  wrote:
>
> > > > > > > Hi.
>
> > > > > > > Here's some code i've used recently that you should be able to 
> > > > > > > modify
> > > > > > > to your needs:
>
> > > > > > > //      map must be global
> > > > > > > //      and assume you have a form with an id 'myFormId' which 
> > > > > > > has two text
> > > > > > > inputs with names 'lat' and 'lng'
> > > > > > > function getMapClick(){
> > > > > > >         //      get the LatLng of the map click and complete the 
> > > > > > > search form's
> > > > > > > address box with that value to 4 decimal places
> > > > > > >         var listener=google.maps.event.addListener(map, 'click',
> > > > > > > function(clickEvent){
> > > > > > >                 var myForm=document.forms.myFormId, 
> > > > > > > latLng=clickEvent.latLng,
> > > > > > > lat=latLng.lat(), lng=latLng.lng();
> > > > > > >                 myForm.lat.value=lat;
> > > > > > >                 myForm.lng.value=lng;
> > > > > > >                 //      remove the event listener
> > > > > > >                 google.maps.event.removeListener(listener);
> > > > > > >                 listener=null;
> > > > > > >         });
>
> > > > > > > };
>
> > > > > > > You could use a button or anchor to call the function:
>
> > > > > > > Enable map 
> > > > > > > click > > > > > > a>
>
> > > > > > > Martin.
>
> > > > > > > On 21 Sep, 12:46, Peter  wrote:
>
> > > > > > > > I want users to be able to click on a worldmap. Then, when 
> > > > > > > > theyu click
> > > > > > > > I get the longitude and latitude of the clicked location and 
> > > > > > > > store
> > > > > > > >

[Google Maps API v3] Re: Many polygons drawing slow in IE

2010-09-22 Thread Rossko
> In FF working fine, in Chrome working perfect but with IE it's very
> very slow (with IE8 it's slow, with IE6 it's impossible to paint it)

Yup IE is slow at rendering.

> What can I do?

Put your data in a KML file and use kmlLayer to render it.

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Getting clicked location on Google maps

2010-09-22 Thread Martin
Hi..

The map variable needs to be a reference to the google.maps.Map object
and it needs to be accessed from within the getMapClick() function.

Do you create your google.maps.Map object in a function?
If so then once that function has executed there is no reference to
the Map left.

Typically you'd declare the 'map' variable at the start of your code,
outside of any functions:

// create a global variable
var map:

Then in the function where you create your map, instead of defining
the 'map' variable like this:

var map=new google.maps.Map(blah blah);

The 'map' variable is already defined so you'd do this:

map=new google.maps.Map(blah blah);

You've then created a global variable 'map' and defined it's value
(the google.maps.Map object) in a function.
The 'map' variable is now accessible from anywhere in your code -
including the getMapClick() function.

Martin.


On 22 Sep, 09:43, Peter  wrote:
> Problem is that the site is not live yet...
> But my question is more: what should I put in this map variable? Is it
> a reference to the map_canvas?
> If so, would this suffice: var map =
> document.getElementById('map_canvas'); ?
>
> On Sep 22, 1:42 am, Martin  wrote:
>
> > Post a link to your map - that's the only way me or someone else can
> > suggest some code to fix it.
>
> > Martin.
>
> > On 21 Sep, 23:46, Peter  wrote:
>
> > > Indeed, didnt see that the first time, but indeed I get js error: "map
> > > is not defined"
> > > So what should I do about that?
>
> > > On Sep 21, 11:27 pm, Martin  wrote:
>
> > > > Ooops...
>
> > > > Forgot to ask - you do have a global variable named 'map' do you that
> > > > can be accessed by the function?
> > > > If not then the listener will not be created - and you should see an
> > > > error reported in your browser.
> > > > Something like 'map is undefined'?
>
> > > > Martin.
>
> > > > On 21 Sep, 21:58, Peter  wrote:
>
> > > > > Ok, so now I have:
> > > > >         
> > > > >             
> > > > >             
> > > > >              > > > > onclick="javascript:getMapClick();">Enable map click 
> > > > >              > > > > div>
> > > > >         
>
> > > > > and javascript in external .js file:
>
> > > > > function getMapClick(){
> > > > >     //      get the LatLng of the map click and complete the search
> > > > > form's address box with that value to 4 decimal places
> > > > >     alert('hi 1');
> > > > >     var listener = google.maps.event.addListener(map, 'click',
> > > > >             function (clickEvent) {
> > > > >                 alert('hi 2');
> > > > >                 var myForm = document.forms.myFormId, latLng =
> > > > > clickEvent.latLng, lat = latLng.lat(), lng = latLng.lng();
> > > > >                 myForm.lat.value = lat;
> > > > >                 myForm.lng.value = lng;
> > > > >                 //      remove the event listener
> > > > >                 google.maps.event.removeListener(listener);
> > > > >                 listener = null;
> > > > >             });
>
> > > > > };
>
> > > > > when I click on the 'Enable map click' link, the first 'hi 1' is
> > > > > displayed, but the 'hi 2' not...what is going wrong?
>
> > > > > On Sep 21, 10:28 pm, Martin  wrote:
>
> > > > > > Hi.
>
> > > > > > Here's some code i've used recently that you should be able to 
> > > > > > modify
> > > > > > to your needs:
>
> > > > > > //      map must be global
> > > > > > //      and assume you have a form with an id 'myFormId' which has 
> > > > > > two text
> > > > > > inputs with names 'lat' and 'lng'
> > > > > > function getMapClick(){
> > > > > >         //      get the LatLng of the map click and complete the 
> > > > > > search form's
> > > > > > address box with that value to 4 decimal places
> > > > > >         var listener=google.maps.event.addListener(map, 'click',
> > > > > > function(clickEvent){
> > > > > >                 var myForm=document.forms.myFormId, 
> > > > > > latLng=clickEvent.latLng,
> > > > > > lat=latLng.lat(), lng=latLng.lng();
> > > > > >                 myForm.lat.value=lat;
> > > > > >                 myForm.lng.value=lng;
> > > > > >                 //      remove the event listener
> > > > > >                 google.maps.event.removeListener(listener);
> > > > > >                 listener=null;
> > > > > >         });
>
> > > > > > };
>
> > > > > > You could use a button or anchor to call the function:
>
> > > > > > Enable map 
> > > > > > click > > > > > a>
>
> > > > > > Martin.
>
> > > > > > On 21 Sep, 12:46, Peter  wrote:
>
> > > > > > > I want users to be able to click on a worldmap. Then, when theyu 
> > > > > > > click
> > > > > > > I get the longitude and latitude of the clicked location and store
> > > > > > > them in two textboxes...
> > > > > > > Where can I find how to do that?

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email t

[Google Maps API v3] Re: Getting clicked location on Google maps

2010-09-22 Thread Peter
Hi Nick,

Your example page is exactly what I need! :)
I looked at the source code of your page, but that javascript there is
a bit too complex for me :)
Also I dont think I need it all.

Do you have a code snippet (not sure how or where to use the code
snippet you provide in your post) that catches the click event and
returns the longitude and latitude? Thats basically all I need for
now!

Thanks again!


On Sep 22, 11:13 am, Niklasro  wrote:
> On Sep 21, 11:46 am, Peter  wrote:> I want users to be 
> able to click on a worldmap. Then, when theyu click
> > I get the longitude and latitude of the clicked location and store
> > them in two textboxes...
> > Where can I find how to do that?
>
> Dear Peter
> You're most welcome look at my example upgrading to API 
> 3www.koolbusiness.com/ai
> It finds longitude, latitude and also location name implementing
> javascript like
> place=response.Placemark[0];
> point=new
> GLatLng(place.Point.coordinates[1],place.Point.coordinates[0]);
> I hope similar works for you
> Regards
> Nick Rosencrantz

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Load KML markers before getting user location

2010-09-22 Thread Niklasro
Hi people
I want KML markers to load on map indepedent of
geolocation.getCurrentPosition. Ie KML markers are loaded while
waiting for user to choose whether to share location. I believe it's
doable with a callback or likewise. Can you recommend a way?
My map is http://www.koolbusiness.com
Thanks!
Niklas

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Getting clicked location on Google maps

2010-09-22 Thread Niklasro
On Sep 21, 11:46 am, Peter  wrote:
> I want users to be able to click on a worldmap. Then, when theyu click
> I get the longitude and latitude of the clicked location and store
> them in two textboxes...
> Where can I find how to do that?
Dear Peter
You're most welcome look at my example upgrading to API 3
www.koolbusiness.com/ai
It finds longitude, latitude and also location name implementing
javascript like
place=response.Placemark[0];
point=new
GLatLng(place.Point.coordinates[1],place.Point.coordinates[0]);
I hope similar works for you
Regards
Nick Rosencrantz

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Getting clicked location on Google maps

2010-09-22 Thread Peter
Problem is that the site is not live yet...
But my question is more: what should I put in this map variable? Is it
a reference to the map_canvas?
If so, would this suffice: var map =
document.getElementById('map_canvas'); ?

On Sep 22, 1:42 am, Martin  wrote:
> Post a link to your map - that's the only way me or someone else can
> suggest some code to fix it.
>
> Martin.
>
> On 21 Sep, 23:46, Peter  wrote:
>
> > Indeed, didnt see that the first time, but indeed I get js error: "map
> > is not defined"
> > So what should I do about that?
>
> > On Sep 21, 11:27 pm, Martin  wrote:
>
> > > Ooops...
>
> > > Forgot to ask - you do have a global variable named 'map' do you that
> > > can be accessed by the function?
> > > If not then the listener will not be created - and you should see an
> > > error reported in your browser.
> > > Something like 'map is undefined'?
>
> > > Martin.
>
> > > On 21 Sep, 21:58, Peter  wrote:
>
> > > > Ok, so now I have:
> > > >         
> > > >             
> > > >             
> > > >              > > > onclick="javascript:getMapClick();">Enable map click 
> > > >              > > > div>
> > > >         
>
> > > > and javascript in external .js file:
>
> > > > function getMapClick(){
> > > >     //      get the LatLng of the map click and complete the search
> > > > form's address box with that value to 4 decimal places
> > > >     alert('hi 1');
> > > >     var listener = google.maps.event.addListener(map, 'click',
> > > >             function (clickEvent) {
> > > >                 alert('hi 2');
> > > >                 var myForm = document.forms.myFormId, latLng =
> > > > clickEvent.latLng, lat = latLng.lat(), lng = latLng.lng();
> > > >                 myForm.lat.value = lat;
> > > >                 myForm.lng.value = lng;
> > > >                 //      remove the event listener
> > > >                 google.maps.event.removeListener(listener);
> > > >                 listener = null;
> > > >             });
>
> > > > };
>
> > > > when I click on the 'Enable map click' link, the first 'hi 1' is
> > > > displayed, but the 'hi 2' not...what is going wrong?
>
> > > > On Sep 21, 10:28 pm, Martin  wrote:
>
> > > > > Hi.
>
> > > > > Here's some code i've used recently that you should be able to modify
> > > > > to your needs:
>
> > > > > //      map must be global
> > > > > //      and assume you have a form with an id 'myFormId' which has 
> > > > > two text
> > > > > inputs with names 'lat' and 'lng'
> > > > > function getMapClick(){
> > > > >         //      get the LatLng of the map click and complete the 
> > > > > search form's
> > > > > address box with that value to 4 decimal places
> > > > >         var listener=google.maps.event.addListener(map, 'click',
> > > > > function(clickEvent){
> > > > >                 var myForm=document.forms.myFormId, 
> > > > > latLng=clickEvent.latLng,
> > > > > lat=latLng.lat(), lng=latLng.lng();
> > > > >                 myForm.lat.value=lat;
> > > > >                 myForm.lng.value=lng;
> > > > >                 //      remove the event listener
> > > > >                 google.maps.event.removeListener(listener);
> > > > >                 listener=null;
> > > > >         });
>
> > > > > };
>
> > > > > You could use a button or anchor to call the function:
>
> > > > > Enable map click > > > > a>
>
> > > > > Martin.
>
> > > > > On 21 Sep, 12:46, Peter  wrote:
>
> > > > > > I want users to be able to click on a worldmap. Then, when theyu 
> > > > > > click
> > > > > > I get the longitude and latitude of the clicked location and store
> > > > > > them in two textboxes...
> > > > > > Where can I find how to do that?

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Many polygons drawing slow in IE

2010-09-22 Thread Enrico
Hi,

I have a maps with 200 polygons with a medium of 40 point each one (I
have 6 with more, the larger with 450 points).
I need only to paint it on map. I put them in an array and with a for
I paint all.
In FF working fine, in Chrome working perfect but with IE it's very
very slow (with IE8 it's slow, with IE6 it's impossible to paint it)

What can I do?

Thank you for help

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Adding a mouseover event on custom layer (or even on an GroundOverlay)

2010-09-22 Thread 23yen
Hello,

after having searched and tried for long, I've decided to ask this
question here : is there a way to add a mouseover event on a custom
overlay (with an image in it), or even on a simpler GroungOverlay?
The only available event for a groundoverlay is the click event, but
i'd like to use the mouseover event too. Is this possible?

Thanks in advance,

Stephane

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: How can I search for a city so I can zoom to it?

2010-09-22 Thread The Net Duck
Thank you so much! this was just what I was looking for ;)

- The Net Duck

On Sep 21, 3:43 pm, Luke Mahé  wrote:
> Hello Mr Duck :)
>
> You will want to have a look at the Geocoding service 
> -http://code.google.com/apis/maps/documentation/javascript/services.ht...
>
> Here is an example of similar to what you 
> want:http://code.google.com/apis/maps/documentation/javascript/examples/ge...
>
> -- Luke
>
> On Wed, Sep 22, 2010 at 7:34 AM, The Net Duck  wrote:
>
>
>
> > I have an application that needs users to be able to zoom to a city or
> > state they are looking for. Or better yet, a complete address (kind of
> > like google maps regular site would be perfect actually). I was
> > wondering how I could incorporate these things into my site.
>
> > This is even possible?
>
> > Thanks
>
> > --
> > 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...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-js-api-v3+unsubscr...@googlegroups.com > unsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.