Greetings, This question relates to embedding user-editable layers at maps.google.com into google maps javascript api v3 applications.
In my application at: http://bike.zgroks.com/index.html, there is included a layer called as such: rtEditLayer_url = "http://maps.google.com/maps/ms?msid=212925685488873680953.0004b6f5861b51720b824&msa=0&mid=1328716954&output=kml" ; rtEditLayer = new google.maps.KmlLayer(rtEditLayer_url, {preserveViewport: true}); rtEditLayer.setMap(null); The code above calls a map at maps.google.com that is set to allow public collaboration. When the user wants to edit the layer at maps.google.com, this function (below) is called: function edit_map () { var mcenter = map.getCenter(); var mlat = mcenter.lat(); var mlng = mcenter.lng(); var z = map.getZoom(); var myType = map.getMapTypeId(); var goToLoc2 = 'https://maps.google.com/maps/ms?msid=212925685488873680953.0004c4ab35f55e7bc304e&msa=0&z=' + z + '&ll=' + mlat + ',' +mlng; window.open(goToLoc2); } This all works well and good, but changes made at maps.google.com seem to take various amounts of time to propagate to the main map. Is it possible to add a random query string parameter to the end of the variable goToLoc2 to cause maps.google.com to refresh the cache? Any help, or examples linking to applications employing a similar functionality would be much appreciated. Bob -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/chnrYg3OMUYJ. 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.
