[Google Maps API v3] Re: Resize MVC Radius
Hi. Try: myRadiusWidget.set('distance', the_input_value) Where myRadiusWidget is the instance of RadiusWidget that you have created - and kept a reference to. Martin. On Oct 18, 4:41 am, finco mbeck...@gmail.com wrote: I've built a map where a circle can be resized by dragging the edge. It is based on Luke Mahe's example athttp://code.google.com/apis/maps/articles/mvcfun.html. I'd like to add an input field which will resize the circle based on the value of the input. I can do this by calling the init() function again but there must be a way to just resize the circle without reloading the map. I thought it was going to be RadiusWidget.prototype.set('distance',the_input_value) but no success with that. Can someone please point me in the right direction? Thanks in advance for your 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-v3@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: Complex Icons With Info Bubbles
On Oct 17, 10:14 am, Desislav Iliev dex.il...@gmail.com wrote: I followed the tutorial with the beaches around Sidney (Complex Icons) and everything works fine but I can't make the info bubble appear. Are you trying to do something like this? http://www.geocodezip.com/v3_markers_infowindows.html (I started from the same example, changed the markers and added infowindows) -- Larry I added event listener for the marker but it adds it to all the markers. I need to somehow give every marker an id. I have a div with info for every marker that has display:none and this block of code: google.maps.event.addListener(marker, 'click', function() { var e = document.getElementById(?); e.style.display = 'block'; }) When I replace the ? with the div's id number I get that div open for every marker. When I put the var i instead it always opens the last div. Is there some way to attach an id to every marker so each one to open a ifferent div? -- 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-v3@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 to trigger a Tile Server to dynamically update tiles
Hi. Have you tried simply removing your overlay map and then re-adding it? map.overlayMapTypes.removeAt(0); map.overlayMapTypes.setAt(0,overlayMap); You'll still have to watch for problems with the browser caching tiles, but if you add a bogus parameter to each tile URL then it should force a reload of all visible tiles. A bogus parameter based on the current time is a good idea: var overlayMaps = [{ getTileUrl: function(coord, zoom) { return tileserver.php?x=+coord.x+y=+coord.y+z=+zoom +g=1bogus=+new Date().getTime(); }, tileSize: new google.maps.Size(256, 256), isPng: true, opacity: 1.0 }]; Martin. On Oct 18, 4:18 am, David david.gonzalez.gutier...@gmail.com wrote: Rossko, thank you very much for your reply. Yes, I am actually getting my tiles updated by the tile server every 5s, but as you said the problem is re-fetching map tiles that have already been fetched. I have no idea on how to make a custom tile management in JavaScript, could you please show me any reference / sample that I could use a starting point? Thanks... On 10月18日, 午前9:49, Rossko ros...@culzean.clara.co.uk wrote: How could I trigger my tile server to re-compute all tiles (or at least the ones in the viewport) every 5 seconds ? That doesn't seem to be a question about the maps API, but about whatever you are using for a tile server. One approach might be just to have it calculate new tiles for every request it gets. That could be streamlined a bit by only creating anew if the cached version is more than 5 seconds old. Your real problem is that the API won't re-fetch custom map tiles every five seconds, I think you will need to code your own tile management for that. Take steps to circumvent browser caching. -- 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-v3@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 to trigger a Tile Server to dynamically update tiles
Martin, thanks for your reply! I see, using the date as a bogus parameter works very well ! However, the problem is that there is a bit of flashing when removing and adding the tiles. I guess it is not possible to completely avoid that, right ? On Oct 18, 3:49 pm, Martin™ warwo...@gmail.com wrote: Hi. Have you tried simply removing your overlay map and then re-adding it? map.overlayMapTypes.removeAt(0); map.overlayMapTypes.setAt(0,overlayMap); You'll still have to watch for problems with the browser caching tiles, but if you add a bogus parameter to each tile URL then it should force a reload of all visible tiles. A bogus parameter based on the current time is a good idea: var overlayMaps = [{ getTileUrl: function(coord, zoom) { return tileserver.php?x=+coord.x+y=+coord.y+z=+zoom +g=1bogus=+new Date().getTime(); }, tileSize: new google.maps.Size(256, 256), isPng: true, opacity: 1.0 }]; Martin. On Oct 18, 4:18 am, David david.gonzalez.gutier...@gmail.com wrote: Rossko, thank you very much for your reply. Yes, I am actually getting my tiles updated by the tile server every 5s, but as you said the problem is re-fetching map tiles that have already been fetched. I have no idea on how to make a custom tile management in JavaScript, could you please show me any reference / sample that I could use a starting point? Thanks... On 10月18日, 午前9:49, Rossko ros...@culzean.clara.co.uk wrote: How could I trigger my tile server to re-compute all tiles (or at least the ones in the viewport) every 5 seconds ? That doesn't seem to be a question about the maps API, but about whatever you are using for a tile server. One approach might be just to have it calculate new tiles for every request it gets. That could be streamlined a bit by only creating anew if the cached version is more than 5 seconds old. Your real problem is that the API won't re-fetch custom map tiles every five seconds, I think you will need to code your own tile management for that. Take steps to circumvent browser caching. -- 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-v3@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 to trigger a Tile Server to dynamically update tiles
Hi. I nearly mentioned in my previous post that you might get a flicker as you remove and re-add the tiles. That's unavoidable with the code i posted i'm pretty sure of that. To get the tiles to refresh without that flicker would require a different approach - nowhere near as straightforward as the code i posted. I think you'd have to save a reference to each requested tile in your getTile() method. Save a reference so that you can change each tile image source at any time. Now to refresh your tile layer you'd iterate through all the tile references and change the image source - with a bogus parameter this would work. The only problem would be knowing which tiles are still being displayed by the map so that you don't refresh each and every tile that has been created since the tiles were last refreshed. Maybe you can implement a releaseTile() method in your overlay map? http://code.google.com/apis/maps/documentation/javascript/reference.html#MapType So getTile() would function as it does now - it would also save a reference to each tile requested. Your new releaseTile() method would remove references to tiles that are no longer loaded/visible. And every time you want to refresh the tiles, you'd get the references to loaded/visible tiles and update each one's image source. Martin. On Oct 18, 8:56 am, David david.gonzalez.gutier...@gmail.com wrote: Martin, thanks for your reply! I see, using the date as a bogus parameter works very well ! However, the problem is that there is a bit of flashing when removing and adding the tiles. I guess it is not possible to completely avoid that, right ? On Oct 18, 3:49 pm, Martin™ warwo...@gmail.com wrote: Hi. Have you tried simply removing your overlay map and then re-adding it? map.overlayMapTypes.removeAt(0); map.overlayMapTypes.setAt(0,overlayMap); You'll still have to watch for problems with the browser caching tiles, but if you add a bogus parameter to each tile URL then it should force a reload of all visible tiles. A bogus parameter based on the current time is a good idea: var overlayMaps = [{ getTileUrl: function(coord, zoom) { return tileserver.php?x=+coord.x+y=+coord.y+z=+zoom +g=1bogus=+new Date().getTime(); }, tileSize: new google.maps.Size(256, 256), isPng: true, opacity: 1.0 }]; Martin. On Oct 18, 4:18 am, David david.gonzalez.gutier...@gmail.com wrote: Rossko, thank you very much for your reply. Yes, I am actually getting my tiles updated by the tile server every 5s, but as you said the problem is re-fetching map tiles that have already been fetched. I have no idea on how to make a custom tile management in JavaScript, could you please show me any reference / sample that I could use a starting point? Thanks... On 10月18日, 午前9:49, Rossko ros...@culzean.clara.co.uk wrote: How could I trigger my tile server to re-compute all tiles (or at least the ones in the viewport) every 5 seconds ? That doesn't seem to be a question about the maps API, but about whatever you are using for a tile server. One approach might be just to have it calculate new tiles for every request it gets. That could be streamlined a bit by only creating anew if the cached version is more than 5 seconds old. Your real problem is that the API won't re-fetch custom map tiles every five seconds, I think you will need to code your own tile management for that. Take steps to circumvent browser caching. -- 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-v3@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: Remove action bar from placemarks' info window?
Rossko, thank you very much for the answer. I knew what was in my KML since I have programmed the tool which produced it :-). So it was clear that My Maps itself was adding the unwanted information. Nevertheless, I suspected the KML to be responsible the other way around: Let's assume that there exists some KML tag which normally contains the unwanted information, but that I didn't use that tag in my KML file (due to my restricted knowledge of KML). Thus, My Maps would put some default information into the info window because I did not define this information explicitely. Well, there could even have been a KML tag which says don't display default information in the info window of that placemark. Some months ago, I had a deep look into the KML specification (in fact, I have read most part of the schema), but did not see any tags which could be used for this purpose. But you never can be sure if you didn't miss something, so I just wanted to confirm. The image content of the description tag was a dummy for internal testing. I needed the KML only to set the placemarks to the correct places; I used to add the description in the info windows manually (HTML code including the images which are sourced from some web space). The link you have give is very valuable. Obviously, when loading the KML into a map by JavaScript, no additional, unwanted information is added to the placemarks' info windows, as opposed to loading the KML into the map via My Places. So I will try to load the maps and the KML into my website directly by JavaScript instead of pre-generating it in My Places and then link to it. That forces me to add all the HTML for the info window into the description fields of all placemarks in the KML file before uploading it, but that will probably lead to a better quality of the info windows content, so I can live with it :-) The disadvantage is that typos in the info window can't be corrected quickly: I would have to correct the KML and to re-upload it. @Google (if somebody reads this): It would be nice to have some options in the My Places GUI to set properties of the info window. Much has been achieved already (it's astonishing how easy the symbol for the placemark can be changed and so on), but there should be at least an option for the info windows to suppress unwanted information and links. These are eating much of precious space, and it's an privacy issue, too. Thanks for helping! Binarus -- 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/-/skz_q4N19wsJ. To post to this group, send email to google-maps-js-api-v3@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] HTTPS and tile caching with Firefox
Hello all, I noticed that when loading a map over HTTPS and moving/zooming in then tiles are constantly fetched over the network and despite seemingly correct caching headers not cached in Firefox 7.0.1. Has anybody else observed this behavior and worked around 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-v3@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] HTTPS and tile caching with Firefox
On 18 October 2011 11:34, George Georgovassilis g.georgovassi...@gmail.com wrote: I noticed that when loading a map over HTTPS and moving/zooming in then tiles are constantly fetched over the network and despite seemingly correct caching headers not cached in Firefox 7.0.1. This is the default behaviour up to Mozilla rv:1.9.3 or thereabouts (apparently). I don't have Firefox 7, but I guess it's at a lower revision number. It's a browser setting you can change. about:config, change browser.cache.disk_cache_ssl to true. https://bugzilla.mozilla.org/show_bug.cgi?id=531801 https://bugzilla.mozilla.org/show_bug.cgi?id=547537 -- 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-v3@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: Resize MVC Radius
within the keyup of my input I've added: var myRadiusWidget=RadiusWidget(); myRadiusWidget.set('distance',8000); I think the issue may be a scope issue. I can set a new radius with var distanceWidget = new DistanceWidget(map1); so if I can delete the prior circle (how?), I can just create a new one. I think the fundamental issue is I don't know how to address the existing circle. Thanks again. My code is as follows: * A distance widget that will display a circle that can be resized and will * provide the radius in km. * * @param {google.maps.Map} map The map to attach to. * * @constructor */ function DistanceWidget(map) { this.set('map', map); this.set('position', map.getCenter()); var marker = new google.maps.Marker({ draggable: true, title: 'Move me!' }); // Bind the marker map property to the DistanceWidget map property marker.bindTo('map', this); // Bind the marker position property to the DistanceWidget position // property marker.bindTo('position', this); // Create a new radius widget var radiusWidget = new RadiusWidget(); // Bind the radiusWidget map to the DistanceWidget map radiusWidget.bindTo('map', this); // Bind the radiusWidget center to the DistanceWidget position radiusWidget.bindTo('center', this, 'position'); // Bind to the radiusWidgets' distance property this.bindTo('distance', radiusWidget); // Bind to the radiusWidgets' bounds property this.bindTo('bounds', radiusWidget); } DistanceWidget.prototype = new google.maps.MVCObject(); /** * A radius widget that add a circle to a map and centers on a marker. * * @constructor */ function RadiusWidget() { var circle = new google.maps.Circle({ strokeColor: #FF, strokeOpacity: 0.8, strokeWeight: 2, fillColor: #FF, fillOpacity: 0.05 }); // Set the distance property value, default to 3 mi (*km). this.set('distance', radiusSlider*1.609344); // Bind the RadiusWidget bounds property to the circle bounds property. this.bindTo('bounds', circle); // Bind the circle center to the RadiusWidget center property circle.bindTo('center', this); // Bind the circle map to the RadiusWidget map circle.bindTo('map', this); // Bind the circle radius property to the RadiusWidget radius property circle.bindTo('radius', this); // Add the sizer marker this.addSizer_(); } RadiusWidget.prototype = new google.maps.MVCObject(); /** * Update the radius when the distance has changed. */ RadiusWidget.prototype.distance_changed = function() { this.set('radius', this.get('distance') * 1000); }; /** * Add the sizer marker to the map. * * @private */ RadiusWidget.prototype.addSizer_ = function() { var sizer = new google.maps.Marker({ draggable: true, title: 'Drag me!', icon: 'handle.png' }); sizer.bindTo('map', this); sizer.bindTo('position', this, 'sizer_position'); var me = this; google.maps.event.addListener(sizer, 'drag', function() { // Set the circle distance (radius) me.setDistance(); }); }; /** * Update the center of the circle and position the sizer back on the line. * * Position is bound to the DistanceWidget so this is expected to change when * the position of the distance widget is changed. */ RadiusWidget.prototype.center_changed = function() { var bounds = this.get('bounds'); // Bounds might not always be set so check that it exists first. if (bounds) { var lng = bounds.getNorthEast().lng(); // Put the sizer at center, right on the circle. var position = new google.maps.LatLng(this.get('center').lat(), lng); this.set('sizer_position', position); } }; /** * Calculates the distance between two latlng points in km. * @see http://www.movable-type.co.uk/scripts/latlong.html * * @param {google.maps.LatLng} p1 The first lat lng point. * @param {google.maps.LatLng} p2 The second lat lng point. * @return {number} The distance between the two points in km. * @private */ RadiusWidget.prototype.distanceBetweenPoints_ = function(p1, p2) { if (!p1 || !p2) { return 0; } var R = 6371; // Radius of the Earth in km var dLat = (p2.lat() - p1.lat()) * Math.PI / 180; var dLon = (p2.lng() - p1.lng()) * Math.PI / 180; var a = Math.sin(dLat / 2) * Math.sin(dLat / 2) + Math.cos(p1.lat() * Math.PI / 180)
[Google Maps API v3] Re: Resize MVC Radius
I think the fundamental issue is I don't know how to address the existing circle. Yes, I would focus on that as a scope problem. Do some homework on javascript variable scope, example http://econym.org.uk/gmap/scope.htm If you want only one circle, and want to mess with at later times, a global variable looks like a simple solution. -- 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-v3@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: Resize MVC Radius
I've actually been looking at it for hours but can't seem to figure out how to declare the widgets so they are public. I don't mean to be the slow kid in the class . . . . . but perhaps I am. Thanks for any suggestions. -- 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/-/n_s6i1zS89sJ. To post to this group, send email to google-maps-js-api-v3@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 to pass data to a marker click function
i'm sorry but my question obviously wasn't clear. instead of creating 10k+ individual anonymous functions as click events for the markers, i'd rather like to assign 10k+ references to one public marker handling function. but anyway, from my tests it seems to make no difference performance wise, in newer browsers, and i don't care about IE6... btw. 10k markers isn't really a problem for markerClusterer. i've also tried adding/deleting markers dynamically based on bounds. it's ok, but that way i have to potentially handle a lot of ajax requests to the database. if performance goes critical one day, i'll probably play around with javascript/nosql techniques and dynamic loading. thanks, uno On 17 Okt., 10:54, alexandroid kamot...@gmail.com wrote: See Accessing Arguments in UI Events section, in particular code example there.http://code.google.com/apis/maps/documentation/javascript/events.html... google.maps.event.addListener(map, 'click', function(event) { placeMarker(event.latLng); }); In your case instead of map object you will have a marker object, but it should work. To avoid creating 10k+ markers you need to figure out how can you only create those which are located within map bounds and update (or clear and re-add) all markers on the visible area when map is moved or zoomed in/out. ~Alex On Oct 16, 5:27 am, uno radio.apo...@googlemail.com wrote: hello, probably only half a maps question, but if someone could enlighten me... what i do is: google.maps.event.addListener(Marker, 'click', function() { doSomethingWith(this);}); function doSomethingWith(that) {...}; works fine. but, i have 10k+ markers, and this way i create 10k+ objects, right? what i'd like to do is: google.maps.event.addListener(Marker, 'click', doSomethingWith); function doSomethingWith(e) {...} where e should be the marker object, since i have to access some of its properties. but e is a LatLng object. so, how to get a reference to the marker itself? this: google.maps.event.addListener(Marker, 'click', doSomethingWith(Marker)); obviously opens the gates of hell, when used in 10k+ loops... of course... ;) any idea anybody? it's not a problem anyway to use the anonymous function above, at least no browser i've tested with had performance problemes (markers are handled in markerClustererPlus). but i want to save something. is it worth the effort? thanks, uno -- 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-v3@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: Remove action bar from placemarks' info window?
@Binarus Here's another option. You are welcome to use the map viewer I wrote (Gmap4) to display My Places maps on your site. Gmap4 is designed to look decent down to 400px by 400px. When you click a symbol the infowindow only displays what you wrote. I looked at your site and here is Gmap4 displaying one of your My Places maps: http://www.mappingsupport.com/p/gmap4.php?q=mymap,116961561228990225560.0004503cc4e57348421e1 1. Notice that any text in an infowindow will have a light yellow background. That background will be removed in the next update which should go 'live' in 1-2 weeks. 2. I highly recommend that you specify both height and width attributes for each img tag in your files. Doing so may help Google understand that the map should be autopanned when the infowindow opens. Gmap4 homepage: http://www.mappingsupport.com/p/gmap4.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-v3@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: Google Maps API v3 WordPress 3.2.1.
Thanks Dave, but the webpage that you see when using the url http://snowvillecreamery.com/snow_wp/phpsqlsearch.php/?lat=39.0202lng=-82.0419radius=100is because it is inside the WordPress installation. The page that loads is the default home page for that WP installation. My question/problem is how do I get phpslqsearch.php to create that XML file when it's called from http://snowvillecreamery.com/snow_wp/?page_id=50 ?http://snowvillecreamery.com/snow_wp/?page_id=50 I've posted this question/problem over on the WordPress forum, but have not received any pings in response to it. Judith http://snowvillecreamery.com/snow_wp/?page_id=50 -- 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/-/BdcPuBezHhIJ. To post to this group, send email to google-maps-js-api-v3@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: Extracting locations from a string
Really? I thought Yahoo Maps Api has gone anyway, so that's not even possible. I can't see such stipulation in the yahoo developer terms On Oct 17, 2011 7:24 PM, Flashingback i...@samueljoos.be wrote: Nothing, but you have to use Yahoo maps with it and I prefer Google maps. On Oct 16, 3:50 pm, Barry Hunter barrybhun...@gmail.com wrote: No google dont yet have such an API. Whats wrong with placemaker? On Sat, Oct 15, 2011 at 10:50 AM, Flashingback i...@samueljoos.be wrote: Hi, I would like to extract locations from a string. For example: I live in London birdcage walk and my friend lives in Germany. Then I would like to have following locations extracted from it as a string or as coordinates. London birdcage walk Germany Is this posible? I heard Yahoo placemaker can do something like this so I thought it had to be possible with google maps API to. -- 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-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group athttp:// 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-v3@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-v3@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: Extracting locations from a string
I just looked at the Yahoo! Maps API site, and it doesn't say anything about being discontinued, etc. http://developer.yahoo.com/maps/flash/jsGettingStarted.html The URL says Flash, but it's info about both the Flash and JS versions. Jeremy R. Geerdes Generally Cool Guy Des Moines, IA For more information or a project quote: jrgeer...@gmail.com If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Oct 18, 2011, at 11:19 AM, Barry Hunter wrote: Really? I thought Yahoo Maps Api has gone anyway, so that's not even possible. I can't see such stipulation in the yahoo developer terms On Oct 17, 2011 7:24 PM, Flashingback i...@samueljoos.be wrote: Nothing, but you have to use Yahoo maps with it and I prefer Google maps. On Oct 16, 3:50 pm, Barry Hunter barrybhun...@gmail.com wrote: No google dont yet have such an API. Whats wrong with placemaker? On Sat, Oct 15, 2011 at 10:50 AM, Flashingback i...@samueljoos.be wrote: Hi, I would like to extract locations from a string. For example: I live in London birdcage walk and my friend lives in Germany. Then I would like to have following locations extracted from it as a string or as coordinates. London birdcage walk Germany Is this posible? I heard Yahoo placemaker can do something like this so I thought it had to be possible with google maps API to. -- 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-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group athttp://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-v3@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-v3@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-v3@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: Resize MVC Radius
So at the end of the day, I ended up destroying the original circle (not either of the widgets which is where I had been looking) and created a new one. so var circle; within my keyup event circle.setMap(); //destroy existing circle var distanceWidget = new DistanceWidget(map1); //create a new circle Thanks Martin and Rossko. I appreciate the help. -- 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/-/iHVM6AS0JoMJ. To post to this group, send email to google-maps-js-api-v3@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: handler in polygons doesnt work properly
Hi Larry, its dificult for me to provide a link, I am inside a company with firewall restrictions. But I noticed something, when I draw the small polygons, a brilliant color appears in the border, and the handler runs ok, suddently, when I draw a new small polygon, the border seams opaque, and the handler of the big polygon runs. Conclusion, somehow, the small polygon, is behind the big one, how do you control this? I mean, that all the new small polygons are on TOP of the big one? I appreciate your help thanks mariobi40 On 17 oct, 17:30, geocode...@gmail.com geocode...@gmail.com wrote: On Oct 17, 2:58 pm, mariovi mariob...@gmail.com wrote: Hi, I have big polygons, and small polygons inside them, but the small ones are on top of the big ones. I use listener (click) in both sizes, but for some strange reason, the handler doesnt work in the small ones. I know is samll explanation but maybe you have a hint. Well, with the big ones I use, polilistener = google.maps.event.addListener(polyShape, 'click', poligonoClick); with the small ones I use polilistener2 = google.maps.event.addListener(polyShape, 'click', poligonoareaClick); Any idea? Not enough information. If you would like assistance, please provide a link to your map that exhibits the problem. -- Larry thanks mariobi40- Ocultar texto de la cita - - Mostrar texto de la cita -- Ocultar texto de la cita - - Mostrar texto de la cita - -- 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-v3@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] Deploying map mashup to a remote site
I am currently developing an advertising unit, which consists of a Google Map with markers over certain cities. The intention is that when a user clicks on the city marker it links back to the relevant page on my site. This would be given to affiliates as HTML/Javascript to place on their sites (instead of the more conventional jpg or gif). My question is over the new charging restrictions - if the home page of the site in question gets in excess of 25,000 hits per day the issue of charging comes into play. Would I be right in thinking that the affiliate site would actually be incurring those charges and not me? Is there a way of avoiding this? -- 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/-/XgfCGFWSVkcJ. To post to this group, send email to google-maps-js-api-v3@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] Help - Google Maps on my site
I want a google map on my website that: Visitors can add place markers to Thats the main thing i want them to be able to do, but also: Zoomable in and out with mouse wheel (not always possible!) Links on the same web page that when clicked highlight the relevant place marker on the map. Any help? Cant find this easily anywhere, Google Maps API is a maze. Im struggling have been looking for a couple of days now. -- 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/-/C14At4VgDkMJ. To post to this group, send email to google-maps-js-api-v3@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] Google Maps Sales Team email reply to is a no-reply address
I submitted a sales request last Wednesday and I haven't heard back yet. I received an email from my form submission and the email says to reply to the email for licensing information. However, the reply email address is no-reply address. I replied to the email but it's been a few days and I'm concerned that the email was not routed to the google maps sales team. Is there a way to contact the sales team directly? Thanks. -- 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/-/KcdXvT1iIsgJ. To post to this group, send email to google-maps-js-api-v3@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] Can the apperiance of adsense for maps be changed?
Can I change the colours, fonts etc, as in normal ad blocks? If yes, how? Thanks -- 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/-/fOMWEhXxB_oJ. To post to this group, send email to google-maps-js-api-v3@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: How to trigger a Tile Server to dynamically update tiles
I have some code that does a lot of what you mentioned - it could probably be adapted or provide some examples for the OP. The code is the TileMapType in this file: http://code.google.com/p/claslite/source/browse/web/app/static/js/scriptino-map.js (currently lines 369-414 in the file, but of course that may change) In particular, it implements a setOpacity function that loops through the tiles and changes their opacity - very similar to your idea of switching the tile URLs. And of course to do this it has to keep track of which tiles are active as you mentioned. It also implements a loading spinner for the tiles (this is part of an app with very slow-loading tiles), but you can ignore the opt.spinner stuff. OTOH, do pay attention to the img.onload code, because this is what will allow you to prevent flicker. If you merely set a new src URL on an image element, it will probably blank out the original image before loading the new one. Instead, this code creates a new Image object (without displaying it) and sets its src URL. Then when the onload event fires, we know the image is cached and can update the tile. (I happen to use 'tile' elements - essentially DIVs - and background images to make it easy to do the spinner, but the same trick would work if you use IMG tags - set their src after the onload fires.) On another note, the idea of updating tiles every five seconds seems a bit extreme. If it's just a bunch of markers on the map, I would wonder if it might be better to generate JSON data that represents the currently visible markers. Don't know without seeing more of the app, so I'm just speculating here. -Mike On Tue, Oct 18, 2011 at 2:32 AM, Martin™ warwo...@gmail.com wrote: Hi. I nearly mentioned in my previous post that you might get a flicker as you remove and re-add the tiles. That's unavoidable with the code i posted i'm pretty sure of that. To get the tiles to refresh without that flicker would require a different approach - nowhere near as straightforward as the code i posted. I think you'd have to save a reference to each requested tile in your getTile() method. Save a reference so that you can change each tile image source at any time. Now to refresh your tile layer you'd iterate through all the tile references and change the image source - with a bogus parameter this would work. The only problem would be knowing which tiles are still being displayed by the map so that you don't refresh each and every tile that has been created since the tiles were last refreshed. Maybe you can implement a releaseTile() method in your overlay map? http://code.google.com/apis/maps/documentation/javascript/reference.html#MapType So getTile() would function as it does now - it would also save a reference to each tile requested. Your new releaseTile() method would remove references to tiles that are no longer loaded/visible. And every time you want to refresh the tiles, you'd get the references to loaded/visible tiles and update each one's image source. Martin. On Oct 18, 8:56 am, David david.gonzalez.gutier...@gmail.com wrote: Martin, thanks for your reply! I see, using the date as a bogus parameter works very well ! However, the problem is that there is a bit of flashing when removing and adding the tiles. I guess it is not possible to completely avoid that, right ? On Oct 18, 3:49 pm, Martin™ warwo...@gmail.com wrote: Hi. Have you tried simply removing your overlay map and then re-adding it? map.overlayMapTypes.removeAt(0); map.overlayMapTypes.setAt(0,overlayMap); You'll still have to watch for problems with the browser caching tiles, but if you add a bogus parameter to each tile URL then it should force a reload of all visible tiles. A bogus parameter based on the current time is a good idea: var overlayMaps = [{ getTileUrl: function(coord, zoom) { return tileserver.php?x=+coord.x+y=+coord.y+z=+zoom +g=1bogus=+new Date().getTime(); }, tileSize: new google.maps.Size(256, 256), isPng: true, opacity: 1.0 }]; Martin. On Oct 18, 4:18 am, David david.gonzalez.gutier...@gmail.com wrote: Rossko, thank you very much for your reply. Yes, I am actually getting my tiles updated by the tile server every 5s, but as you said the problem is re-fetching map tiles that have already been fetched. I have no idea on how to make a custom tile management in JavaScript, could you please show me any reference / sample that I could use a starting point? Thanks... On 10月18日, 午前9:49, Rossko ros...@culzean.clara.co.uk wrote: How could I trigger my tile server to re-compute all tiles (or at least the ones in the viewport) every 5 seconds ? That doesn't seem to be a question about the maps API, but about whatever you are using for a tile server. One approach might be just to have it
[Google Maps API v3] Help with custom zip-array directions
I've browsed quite a lot of examples, but was unable to find of what I need. Maybe I did look in a wrong place. What I need, basically, is a script that you pass over some zip codes (lets go without complete addresses), and script displays a map with a direction between those. For example: 08540 07940 07438 07821 08837 (These are some New Jersey, US zipcodes) I have a delivery business and it's important to see how the next delivery day is going to look like, how to plan it, etc. That would absolutely great, if labels would custom text could be those zip codes on the map. Can someone share an example how this script would look like? I am pretty sure, code will be very simple. Thank you very much. -- 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/-/LwLqnEDD-ugJ. To post to this group, send email to google-maps-js-api-v3@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: Google Maps API v3 WordPress 3.2.1.
Hope these links help you. http://en.support.wordpress.com/google-maps/ http://wordpress.org/extend/plugins/google-maps-for-wordpress/ http://wordpress.org/extend/plugins/xml-google-maps/ http://wordpress.org/extend/plugins/mappress-google-maps-for-wordpress/ Regards, Carlos Montelongo 2011/10/18 davie strachan daviestrac...@gmail.com Hi Judith I am not 100% sure how WordPress works but I think you will need to write a plugin As you are using Ajax in the demo your plugin has to incorporate Ajax Searcing the WordPress forum for WordPress Ajax i found a plugin that may help http://ocaoimh.ie/wp-content/uploads/2008/11/helloworld4.txt Hope this helps Davie On Oct 18, 3:00 pm, Judith Winner fionnseachdelochie...@gmail.com wrote: Thanks Dave, but the webpage that you see when using the urlhttp:// snowvillecreamery.com/snow_wp/phpsqlsearch.php/?lat=39.0202ln...becauseit is inside the WordPress installation. The page that loads is the default home page for that WP installation. My question/problem is how do I get phpslqsearch.php to create that XML file when it's called fromhttp://snowvillecreamery.com/snow_wp/?page_id=50? http://snowvillecreamery.com/snow_wp/?page_id=50 I've posted this question/problem over on the WordPress forum, but have not received any pings in response to it. Judith http://snowvillecreamery.com/snow_wp/?page_id=50 -- 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-v3@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-v3@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: Extracting locations from a string
http://developer.yahoo.com/maps/ We are shutting down this service on September 13, 2011. Same message appears on many but not all child pages. I just tried a page with the yahoo map api - no map On Oct 18, 2011 6:24 PM, Jeremy Geerdes jrgeer...@gmail.com wrote: I just looked at the Yahoo! Maps API site, and it doesn't say anything about being discontinued, etc. http://developer.yahoo.com/maps/flash/jsGettingStarted.html The URL says Flash, but it's info about both the Flash and JS versions. Jeremy R. Geerdes Generally Cool Guy Des Moines, IA For more information or a project quote: jrgeer...@gmail.com If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Oct 18, 2011, at 11:19 AM, Barry Hunter wrote: Really? I thought Yahoo Maps Api has gone anyway, so that's not even possible. I can't see such stipulation in the yahoo developer terms On Oct 17, 2011 7:24 PM, Flashingback i...@samueljoos.be wrote: Nothing, but you have to use Yahoo maps with it and I prefer Google maps. On Oct 16, 3:50 pm, Barry Hunter barrybhun...@gmail.com wrote: No google dont yet have such an API. Whats wrong with placemaker? On Sat, Oct 15, 2011 at 10:50 AM, Flashingback i...@samueljoos.be wrote: Hi, I would like to extract locations from a string. For example: I live in London birdcage walk and my friend lives in Germany. Then I would like to have following locations extracted from it as a string or as coordinates. London birdcage walk Germany Is this posible? I heard Yahoo placemaker can do something like this so I thought it had to be possible with google maps API to. -- 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-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group athttp:// 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-v3@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-v3@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-v3@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-v3@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] dragend Listener Fails
Test URL is http://www.saefern.org/tickets/drag_test.php Marker drag works fine - the map centers on the new position - until I do a geocode operation, after which it fails. Note that the alert dragend @ 620 doesn't appear, which suggests that the listener function isn't active. But why? The click listener works fine re the centering. Any help is appreciated. -- 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-v3@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] Directions service ignores my Avoid Higways call
I'm building a route planner, with an option to select/deselect highways and tolls. I'm passing this call: 1. avoidHighways: false 2. avoidTolls: false 3. destination: Beebe, AR, USA 4. optimizeWaypoints: true 5. origin: cincinnati 6. provideRouteAlternatives: false 7. travelMode: DRIVING and 1. avoidHighways: true 2. avoidTolls: true 3. destination: Beebe, AR, USA 4. optimizeWaypoints: true 5. origin: cincinnati 6. provideRouteAlternatives: false 7. travelMode: DRIVING And I get same result, same goes for other destinations. now it worked 2 days ago, but not today, where can one check for updates, changes or just report a problem like this ? -- 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/-/FWlwGeclpLoJ. To post to this group, send email to google-maps-js-api-v3@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: Determining and Using new marker positions
Glen: Your question is more php/ajax/js than G. Maps related. 1. If you simply add above code snippet after following line in testmap.php google.maps.event.addListener(marker2, 'drag', redraw); You should be able to see coordinates for marker1 (before or after drag operation) on marker click. 2. Still, You will not see coordinates for marker2. Hint:To avoid adding the same code for marker2, you can define marker as global variable. 3. Later, you can change that code, or add another listener that will trigger saving new data On Oct 17, 11:35 am, Glen Bass glen...@gmail.com wrote: HelloRadina: I have these two scripts http://www.ecoexam.com/Client/testmap.phphttp://www.ecoexam.com/Client/testmap2.php Testmap.php is a sample script for drawing a box in V3, Test map two is an altered sample script that denotes the separate locations of marker1 and marker2 but does not draw a box. My goal is to draw the box and save the positions of marker1 and marker2 using php. Currently the testmap2 code allows me to do this, but I have failed in my efforts to add a dynamic box, equally as frustrating is that doing the opposite with testmap.php is being just as difficult. I am sure that my frustrations rest in the code details but I cant seem to get it right. Best Regards Glen On Oct 14, 5:03 pm,Radinaradi...@gmail.com wrote: Glen: If you just want to see new coordinates, you can try: var infowindow = new google.maps.InfoWindow(); google.maps.event.addListener(marker1, 'click', function() { var latitude = marker1.position.lat(); infowindow.setContent(lat = + latitude + br / + lng = + marker1.position.lng()); infowindow.open(map,marker1); }); Thanks,Radina On Oct 13, 4:29 pm, geocode...@gmail.com geocode...@gmail.com wrote: On Oct 13, 3:36 pm, Glen Bass glen...@gmail.com wrote: Hello: I am attempting to create a worksheet that the user will expand a box to contain a geographic area. I found this sample code and am unable to determine the two sets of coordinates for each of my markers for use in PHP. What have you tried to do? I don't see any code in that page to send the results back to the server (where PHP runs). I do see that the redraw function is accessing the updated coordinates. -- Larry The link for the testpage is below. Any help is appreciated http://www.ecoexam.com/Client/testmap.php Best Regards Glen- 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-v3@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: dragend Listener Fails
Marker drag works fine - the map centers on the new position - until I do a geocode operation, after which it fails. Note that the alert dragend @ 620 doesn't appear, which suggests that the listener function isn't active. But why? Your addrlkup() function removes the previous marker (with listener) then creates a new marker (without listener). Seems to be doing what you tell it to. Maybe you could just reposition the old marker. -- 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-v3@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: Help with custom zip-array directions
I have a delivery business and it's important to see how the next delivery day is going to look like, how to plan it, etc. You'll probably want to check the terms of use before investing too much effort: http://code.google.com/apis/maps/terms.html For the free service, 10.2 Restrictions on the Types of Applications that You are Permitted to Build with the Maps API(s). ... you must not ... (iii) enterprise dispatch, fleet management, business asset tracking or similar applications I think you'd need to buy a commercial licence Can someone share an example how this script would look like? I am pretty sure, code will be very simple. It's outlined here http://code.google.com/apis/maps/documentation/javascript/services.html#Waypoints -- 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-v3@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: Extracting locations from a string
detouring back to the original question, is it a matter of searching strings for a finite number of known destinations (so in your example would you be telling the code to do something specifically with germany or bidcage walk) or is it a case of getting the page to recognise when a word in a string is actually a destination (that you have not previously predicted)? -- 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-v3@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: on change function not working
Thanks for the suggestion. Name maping does have some issues. There are school districts with same names but in different states. I will have to put the unique code for each school district in the kml file and then do the mapping with it. Steve On Oct 17, 11:54 pm, geocode...@gmail.com geocode...@gmail.com wrote: On Oct 16, 10:07 pm, steve sijun...@gmail.com wrote: What I was talking about is the fact that the you have multiple polygons that include the same point. A given house will be in a high school district and an elementary school district, which are different in some areas. Thanks for the clarification. Yeah, that is the case. I also uploaded another fusion table: http://www.google.com/fusiontables/DataSource?dsrcid=1865919 Can't see that one... Sorry, email address does not have the permissions to view the requested table. You should be able to see it now. I can see it now, thanks. What is the common key between this table and your kml? Is it this? AGENCY NAME- BY SURVEY YEAR (DISTRICT) maps to name Or do you have some other plan for looking up the statistics on a district? Which statistics were you planning on displaying in the infowindow? I would think that if the AGENCY NAME to name mapping works, you could do a GViz query of the new table and insert the statistics in the infowindow. Or you could merge the tables on that key and get the information in the existing query (by adding the column names of the additional information). -- Larry Steve- 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-v3@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: How to trigger a Tile Server to dynamically update tiles
Michael and Martin: Thank you very much for your replies! I will try it as soon as I have time, I am quite busy with other stuff at the moment... @Michael: I get ~3000 points (lat,lng) stored into my db every hour (around 1~2 points per second). In order to get a real-time feel I have chosen to refresh the currently visible tiles every 5 seconds. In every refresh, the data accumulated during a 30 min. window (points added between 30 minutes before and now) is displayed... I also wonder what is the best way to do it, but it works more or less right now... Thanks again! -- 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/-/r-CM_zQ3q-sJ. To post to this group, send email to google-maps-js-api-v3@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.