Re: [Google Maps API v3] Australian Traffic Data - not showing in map API?
Some traffic data providers do not license us the data for use in the API. This is the reason for the discrepancy between maps.google.com and the API. -- http://twitter.com/broady -- 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: 2011/2/8 - New Release (Maps API 3.4)
Hi Abel, Would you mind loading this WebGL test page? http://learningwebgl.com/lessons/lesson01/index.html This page does not use the Maps API, so it will help to distinguish WebGL issues from Maps API issues. I have seen this hang on several Windows machines. Street View uses WebGL where available. In the last couple of days Chrome 9 released WebGL support. Unfortunately it appears WebGL causes some graphics cards to hang. Right now we're discussing with Chrome team how to proceed. I imagine in the next few days either Chrome will disable WebGL for the affected graphics cards, or we will disable WebGL in Street View until it stabilizes. In the meantime you can apply one of the following workarounds: 1. If you are explicitly constructing the StreetViewPanorama, you can include mode:html4 in the constructor options to disable WebGL. For example var panorama = new google.maps.StreetViewPanorama({mode:html4}); 2. Or, ask affected users to include the command-line switch --disable-webgl. 3. Or, ask affected users to switch browser. Thanks, Ben On Sat, Feb 12, 2011 at 5:28 PM, Abel abel@gmail.com wrote: Hi Chris - We're having a strange problem with the v3.4 release. When I try to open any page that uses the Streetview portion of the API it seems to hang Chrome on some Windows PCs (but is OK with other browsers). For example the sample map at: http://code.google.com/apis/maps/documentation/javascript/examples/streetview-simple.html causes problems (it just doesn't load at all, we just see a blank page). The reason I think it might be due to v3.4 is that when I grab the page and explicitly set it back to v3.1 it works fine (v3.2 and 3.3 also have issues). What's baffling is that on some PCs it's OK but others with seemly the same setup have issues. I've tested using Win7, XP and Vista with the latest version of Chrome and there doesn't seem to be any consistency -- some machines/browsers are OK, some not. The only common thing is that when we go back to v3.1 it's OK. Also, we've only seen this with Chrome on a PC, other browsers are OK and we haven't seen any issues Chrome on a Mac. Any thoughts? Thanks, - Abel On Feb 7, 11:40 pm, Chris Broadfoot (Google Employee) c...@google.com wrote: Hi all, We're pleased to announce version 3.4 of the Maps API for JavaScript. Firstly, a reminder that if you do not specify a minor version when loading the Maps API, you will automatically receive 3.4. Production applications should always specify a minor version (v=3.2, v=3.3). Read more about versioning here: http://code.google.com/apis/maps/documentation/javascript/basics.html... Also, 3.1 will be unavailable from next week. If you currently load v=3.1, you will receive 3.2. 3.4 includes all changes for 3.3. You can see the full change log here: http://code.google.com/p/gmaps-api-issues/wiki/JavascriptMapsAPIv3Cha... In this release: * New hierarchical map type controls - they're touch-friendly! * New logo (Issue 2574) * MarkerShape.coord renamed to MarkerShape.coords to match HTML area coords attribute Some of you may have custom controls that are designed with a look and feel that match the 3.3 default Maps API map type controls. The 3.4 controls are a bit more complex to imitate so here is a demo page with some sample CSS showing how to do this: http://gmaps-samples-v3.googlecode.com/svn/trunk/controls/index.html Source: http://code.google.com/p/gmaps-samples-v3/source/browse/trunk/control... Enjoy! Chris --http://twitter.com/broady -- 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: region biasing uk problems getting it to work
Doesn't work for me in Australia either. Here are ten USA results for a single key word. So if bias is working then there are other biases also in play. http://maps.google.com/maps/geo?q=tanner%20stregion=auoutput=json Whereas the region code to the end of the search string... http://maps.google.com/maps/geo?q=tanner,au%20stoutput=json -- 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: Points of Interest
I am adopting Google Maps into my service composition middleware design. I'm not sure what that means ; don't forget to check the terms of use if this is a private project. What I am not sure about as I begin to work with this API is whether it will allow me to specify contextual texts (for example Museum, or Library) and in return get back a number of Points of Interest based on my location No, but other APIs can, and they can be used in conjunction with Maps http://code.google.com/apis/maps/documentation/places/ http://code.google.com/apis/maps/documentation/javascript/basics.html#Geolocation -- 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: Problem with markers on StreetView
I think that's working as expected ; nid2 is in the foreground and nid4 is away down the street. What would you like to happen instead? Perhaps only the one chosen marker to show up, and no nearby others? -- 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: Union Polygons
i use convex hull to get the external points of each polygon. the problem is to union the polygons. if i use the convex hull in all points i will not get a right route. The image1 of the attach is what i will get if i do the convex hull with all points. The image2 is what i am doing in the code. I need to union/merge the polygons. On Sat, Feb 12, 2011 at 4:37 AM, geocode...@gmail.com geocode...@gmail.comwrote: On Feb 11, 7:19 pm, Diogo Outerelo da Silva diogoouter...@gmail.com wrote: Hello, I have some days trying to make a bound to my polyline route but i still having problem. First i tried to use the route boxer like the google example (http://gmaps-samples-v3.googlecode.com/svn/trunk/routeboxer/routeboxe.. .) demo gallery, but with a large route and a great precision its make the browser stop, because make so many latlongbounds. So i was searching for another solution and i found from Marcelo Montagna here ( http://gis5.com/pois_along_route/gm_pois_along_route.php), but its protected to copy. Then i start make my own code... There is the step that i think to my code: 1 - Make a circle around each point(lat, long) - like 12 points around each the latlong 2 - Get the most external point for each 2 latlong circle and make a polygon (fecho) - total = (points - 1) poligons 3 - union the poligons to make a unique polygon and apply a color and opacity the problem is that i can`t find a algorithm to union this polygons. Someone know a algorithm that i can use or a API for google maps to make it with the polygons? You could do a convex hull of all the vertices. -- Larry I can`t make another polyline with biggest stroke weight because i need the bound points to search for POI`s. Thx in advance -- , Diogo -- -- 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. -- Atc, Diogo -- -- 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. attachment: convex hull.png
[Google Maps API v3] v3.3+ broke my jQuery Tabs
When I specifically call v3.2 (version used when developing) my map works fine: v 3.2 maphttp://www.austintreeexperts.com/maps/employee.php?f=http%3A%2F%2Fwww.austintreeexperts.com%2Fmaps%2FgmapsXML.cfm%3Fu%3D6761%26ad%3D33415 When I call v3.3 or v3.4 jQuery tabs doesn't execute in my infoWindow v3.4 maphttp://www.austintreeexperts.com/maps/employee2.php?f=http%3A%2F%2Fwww.austintreeexperts.com%2Fmaps%2FgmapsXML.cfm%3Fu%3D6761%26ad%3D33415 Is this a bug, or am I not implementing jQuery properly? Any help greatly 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] Re: Problem with markers on StreetView
I think it will confuse people when there is 2 markers. Don't know how far away the other toilets should be before it is showed? But think we have to only show one toilet and Martin know the code for this. Was just curious about it. There are also a problem with nid17 - you can't see the marker at once you have to move the window to see it but think it can be because of nid6 is too close but don't know. There are also problems sometimes with the infowindow NOT showing correctly. Someone know why and if it's a bug and will be fixed? -- 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: Problem with markers on StreetView
There are also a problem with nid17 - you can't see the marker at once you have to move the window to see it but think it can be because of nid6 is too close but don't know. I can see nid17 fine in FF2, although nid6 is in the foreground it's not in the way. What do you see? There are also problems sometimes with the infowindow NOT showing correctly. Someone know why and if it's a bug and will be fixed? Which infowindow, any of them? What browser? What is 'not correct' about 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.
[Google Maps API v3] Re: v3.3+ broke my jQuery Tabs
When I call v3.3 or v3.4 jQuery tabs doesn't execute in my infoWindow It's probably a timing issue, wait for the infowindow to be opened before running jquery tabs on it. Listen for the infowindows 'domready' event v3.4 maphttp://www.austintreeexperts.com/maps/employee2.php?f=http%3A%2F%2Fww... Line 63 looks a bit wrong var newTree = google.maps.Marker({}); new keyword ? -- 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: Union Polygons
The image1 of the attach is what i will get if i do the convex hull with all points. The image2 is what i am doing in the code. I need to union/merge the polygons. I see the problem, it will be quite a challenge to get a single polygon as you want. Do you think the performance will be any better than with routeboxer? I think there is a method to generate a thick polyline, by calculating the bearing from each vertex to the next, and setting out points at a perpendicular distance either side. -- 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] How Google Maps API v3 compute duration?
Does Google Maps API v3 compute duration by looking road type (highway or toll) and speed limit ? -- 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: Advice on how its best to display large ammount of markers
Clustering is a good approach, but you can combine it with even more: a) Lightweight markers: my own implementationhttp://blog.martin-matysiak.de/2011/01/a-lightweight-marker-for-google-maps-the-simplemarker-class/only weighs 1 div node per marker in the DOM hierarchy. In comparison to the original google maps marker it saves a lot performance if you don't need all the features. b) MarkerManager: In the GMaps Utility Libraryhttp://code.google.com/p/gmaps-utility-library-dev/ there is a class (called MarkerManager) which does more or less what you described in your last sentence: Markers that are out of the viewport will be temporarily removed from the map, thus saving even more DOM nodes. This plus clustering should be good enough for thousands of markers. -- 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: MarkerWithLabel in IE6!
I wrote this library, so I should be able to help... but I do not have a system running MSIE 6. Just so you know, Google Maps API V3 no longer supports MSIE 6, see http://maps.google.com/support/bin/answer.py?hl=enanswer=16532 Doing a quick search of the web I note there are many zindexing bugs in MSIE, particularly early versions. There may be a workaround, if anyone has any ideas let me know. Gary On Feb 11, 1:00 am, DZ shen0...@gmail.com wrote: I usehttp://google-maps-utility-library-v3.googlecode.com/svn/tags/markerw... markerwithlabel. In IE6 the label is behind the marker,in firefox or IE7 it's OK. How can I fix this?Who can help me? 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-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: Union Polygons
Bill Chadwick's demo page is a great resource for this kind of problem. http://www.bdcc.co.uk/Gmaps/BdccGmapBits.htm See the bottom of the page. Distance to Polyline and Parallel Polylines. The syntax is for API v2 though. -- 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: code help with infowindow and fusion tables
On Feb 12, 10:36 am, sheldon sheldonwse...@gmail.com wrote: I have my code posted below. Did you read the posting guidelines? READ THIS FIRST: Posting Guidelines http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e I'm very new to writing code and while I got this to work for me and it shows the markers for the info in my fusion table, I can not click the markers for an infowindow to popup and display the name, address, and phone. Can anyone help please? here is the code: Please post a link, not code. -- 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-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: Opening the map focussing on a country using the country code
Hi Chris, This works for Belgium (BE) and a lot of other countries but not for Germany (DE). In case of using the code DE you get only one result not being a country but the state of DELAWARE in the US. Gerrit. On 10 feb, 11:41, Chris Broadfoot c...@google.com wrote: On Thu, Feb 10, 2011 at 9:31 PM, Gerrit de Bolster cbst...@home.nl wrote: If I do this in my case the map is focussed on the city of Bern in Switzerland! That's because you're choosing the first result. You should look for a result with type country. --http://twitter.com/broady -- 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] infoBox - close/hide custom infowindow when clicking on a new marker
Hi, I am having issues with custom infowindows - using infobox. I cant seem to figure out how I should close the previous opened infowindows, without clicking on the X (close button). When a new marker is clicked, and a infowindow is already opon, I need that infowindow to close. So I only have on infowindow open at a time. Sample code: script type=text/javascript language=javascript //map variables var map; var adUnit; var url = THE URL; //The function that holds the map function initgmap() { //Add marker function function addMarker(response){ var json = JSON.decode(response); //Loop though markers only and add them json.markers.each(function(item){ var latlng = new google.maps.LatLng(item.lat,item.lng); var icon = new google.maps.MarkerImage(ICON); var marker = new google.maps.Marker({ position: latlng, icon: icon, title: item.label, map: map, visible: true }); var myOptions = { content: item.html ,disableAutoPan: false ,maxWidth: 0 ,pixelOffset: new google.maps.Size(-140, 0) ,zIndex: null ,boxStyle: { background: url('http://www.garylittle.ca/map/artwork/ tipbox.gif') no-repeat ,opacity: 0.75 ,width: 280px } ,closeBoxMargin: 10px 2px 2px 2px ,closeBoxURL: http://www.google.com/intl/en_us/mapfiles/ close.gif ,infoBoxClearance: new google.maps.Size(1, 1) ,isHidden: false ,pane: floatPane ,enableEventPropagation: false }; var ib = new InfoBox(myOptions); google.maps.event.addListener(marker, click, function() { ib.open(map, marker); }); $(loadtext).setStyle(visibility, hidden); }); } //Ajax function to get all markers function ajaxGet(url){ $(loadtext).setStyle(visibility, visible); var myAjax = new Request({ method: get, url: url, onComplete: addMarker , onCancel: function() { $(loadtext).setStyle(visibility, hidden); } }).send(); } var latLng = new google.maps.LatLng(56,9); //The map options var map = new google.maps.Map(document.getElementById(gmap), { zoom: 7, center: latLng, mapTypeControl: true, mapTypeControlOptions: { style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR }, zoomControl: true,
[Google Maps API v3] Re: code help with infowindow and fusion tables
Here is the link http://www.weedconnect.net/maps/gmapft.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: code help with infowindow and fusion tables
currently there are only a couple test locations in the fusion table and they are located in Northern California. -- 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: infoBox - close/hide custom infowindow when clicking on a new marker
Whether a custom infowindow or standard, basically you should have just a single instance of InfoWindow() and set its contents by the 'click' handler function. -- 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: infoBox - close/hide custom infowindow when clicking on a new marker
Nevermind esa, I got it all working now. Thank you for your help. It is much appreciated. Regards On 12 Feb., 23:12, Esa esa.ilm...@gmail.com wrote: Too much guesswork without a link to your page. -- 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: Points of Interest
Yes you are right I should have clarified. I am not really importing Google Maps into the middleware but rather the middleware automatically generates javscripts to access the Google Map APIs ... I am assuming this is legal as this is the purpose of the API anyway right? No, but other APIs can, and they can be used in conjunction with Mapshttp://code.google.com/apis/maps/documentation/places/http://code.google.com/apis/maps/documentation/javascript/basics.html... Good pointers Rossko thanks - I will follow up with them. Regards -- 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: Problem with markers on StreetView
Generally i'm finding that if you select Street View from any infowindow and then click the marker in Street View (or a sidebar) link that the map returns to map view from Street View and the infowindow doesn't size itself correctly - the infowindow is not tall enough for the content. This happens not all the time but quite often with latest versions of Firefox, Chrome and Safari(windows). IE8 and Opera seem not to have this problem. This screengrab shows the problem in Firefox: http://i235.photobucket.com/albums/ee223/warwound_1968/bin/infowindow.jpg This only occurs when going from Street View to the map view. Martin. On Feb 12, 3:00 pm, Rossko ros...@culzean.clara.co.uk wrote: There are also a problem with nid17 - you can't see the marker at once you have to move the window to see it but think it can be because of nid6 is too close but don't know. I can see nid17 fine in FF2, although nid6 is in the foreground it's not in the way. What do you see? There are also problems sometimes with the infowindow NOT showing correctly. Someone know why and if it's a bug and will be fixed? Which infowindow, any of them? What browser? What is 'not correct' about 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] Re: Opening the map focussing on a country using the country code
On Sun, Feb 13, 2011 at 7:13 AM, Gerrit de Bolster cbst...@home.nl wrote: I would like to have an answer from one of the Google employees as I believe that the Google Maps API is more than a mere street address geoder as you stated. Rossko is correct. Have a quick read of the documentation and you'll see that it mentions addresses a lot! http://code.google.com/apis/maps/documentation/javascript/services.html#Geocoding Changing the region parameter may get you more relevant geocoder results. For example, I get Canada as a result when I specify region=au: http://maps.googleapis.com/maps/api/geocode/json?address=CAsensor=falseregion=au Rossko's suggestion of using your own lookup of ISO 3166-1 codes is an excellent one, and if it's exactly what you need (only lookups of these codes), then you should do that. The full list is published here: http://www.iso.org/iso/english_country_names_and_code_elements Chris -- http://twitter.com/broady -- 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] Advice on how its best to display large ammount of markers
Luke I wrote an article detailing this recently: http://code.google.com/apis/maps/articles/toomanymarkers.html Chris -- http://twitter.com/broady -- 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] Advice on how its best to display large ammount of markers
Just noticed a minor typo when reading your article: [...] google.maps.event.addLisener(map, 'idle', showMarkers); [...] I think a t got lost somewhere when writing ;-) Otherwise thanks for writing it! this will probably help a lot of users in this group. -- 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: Opening the map focussing on a country using the country code
Chris, It appeares that if a country code also exists as the code of a state in the US geogoder only returns one result: the state in the US. So for CA you only get California and no Canada. In case of AL you get Alabama as the only result and no Alabania and so on. Can you please correct this error? Gerrit. On 12 feb, 19:51, Gerrit de Bolster cbst...@home.nl wrote: Hi Chris, This works for Belgium (BE) and a lot of other countries but not for Germany (DE). In case of using the code DE you get only one result not being a country but the state of DELAWARE in the US. Gerrit. On 10 feb, 11:41, Chris Broadfoot c...@google.com wrote: On Thu, Feb 10, 2011 at 9:31 PM, Gerrit de Bolster cbst...@home.nl wrote: If I do this in my case the map is focussed on the city of Bern in Switzerland! That's because you're choosing the first result. You should look for a result with type country. --http://twitter.com/broady- Tekst uit oorspronkelijk bericht niet weergeven - - Tekst uit oorspronkelijk bericht weergeven - -- 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: Opening the map focussing on a country using the country code
Sorry: it's 'geocoder' and 'Albania'... On 12 feb, 20:34, Gerrit de Bolster cbst...@home.nl wrote: Chris, It appeares that if a country code also exists as the code of a state in the US geogoder only returns one result: the state in the US. So for CA you only get California and no Canada. In case of AL you get Alabama as the only result and no Alabania and so on. Can you please correct this error? Gerrit. On 12 feb, 19:51, Gerrit de Bolster cbst...@home.nl wrote: Hi Chris, This works for Belgium (BE) and a lot of other countries but not for Germany (DE). In case of using the code DE you get only one result not being a country but the state of DELAWARE in the US. Gerrit. On 10 feb, 11:41, Chris Broadfoot c...@google.com wrote: On Thu, Feb 10, 2011 at 9:31 PM, Gerrit de Bolster cbst...@home.nl wrote: If I do this in my case the map is focussed on the city of Bern in Switzerland! That's because you're choosing the first result. You should look for a result with type country. --http://twitter.com/broady-Tekst uit oorspronkelijk bericht niet weergeven - - Tekst uit oorspronkelijk bericht weergeven -- Tekst uit oorspronkelijk bericht niet weergeven - - Tekst uit oorspronkelijk bericht weergeven - -- 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: Opening the map focussing on a country using the country code
It's an address geocoder, not a country finder. Neither Alabama nor Albania are addresses, so it's stretching things a bit to rely on what might be returned. Perhaps a state is considered more like a full address than just a country, or a planet. It is not the only geocoder ; others might be more fit for purpose http://groups.google.com/group/google-maps-api/web/resources-non-google-geocoders this one looks relevant http://www.geonames.org/ There are only a limited number of countries ; it wouldn't be too onerous to make your own look-up table for this. Raw data http://www.nearby.org.uk/coords/countries.csv -- 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: Opening the map focussing on a country using the country code
Rossko, So according to you this is one of the limits of Google Maps API. From the answer of Chris Broadfoot I had the impression it would be possible. Furthermore, in case the code is also applying to regions in other countries you get multiple results. Only when it concerns a state in the US the geocoder has only one result. Strange. I would like to have an answer from one of the Google employees as I believe that the Google Maps API is more than a mere street address geoder as you stated. Gerrit. On 12 feb, 20:58, Rossko ros...@culzean.clara.co.uk wrote: It's an address geocoder, not a country finder. Neither Alabama nor Albania are addresses, so it's stretching things a bit to rely on what might be returned. Perhaps a state is considered more like a full address than just a country, or a planet. It is not the only geocoder ; others might be more fit for purposehttp://groups.google.com/group/google-maps-api/web/resources-non-goog... this one looks relevanthttp://www.geonames.org/ There are only a limited number of countries ; it wouldn't be too onerous to make your own look-up table for this. Raw datahttp://www.nearby.org.uk/coords/countries.csv -- 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: code help with infowindow and fusion tables
On Feb 12, 11:16 am, sheldon sheldonwse...@gmail.com wrote: currently there are only a couple test locations in the fusion table and they are located in Northern California. It tells me: Your browser doesn't support geolocation. Are you stoned? And puts me in Siberia. I don't see any click event listeners on that map. If you want the markers to do something you have to listen for the click: click FusionTablesMouseEvent This event is fired when a feature in the layer is clicked. -- 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-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: infoBox - close/hide custom infowindow when clicking on a new marker
Thank you for the response. Helped a lot. I am now down to one issue left. I am trying to do this: ib.setOptions(myOptions); ib.setContent(item.html); ib.open(map, marker); Where the myOptions is this for instance: var myOptions = { boxClass: red }; However, this does not seem to have any effect at all. The class does not seem to be added. Perhaps you would know why? On 12 Feb., 20:25, Esa esa.ilm...@gmail.com wrote: Whether a custom infowindow or standard, basically you should have just a single instance of InfoWindow() and set its contents by the 'click' handler function. -- 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: v3.3+ broke my jQuery Tabs
Thanks! that did the trick. However, the infowindow height has weird behavior. Sometimes it opens to correct height; sometimes opens to height of div pre-tabbed, sometimes opens tall and quickly resizes to proper height. Any ideas? Maybe I'll try out the infoBubblehttp://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/examples/example.htmlin Utility Library. map with errors fixedhttp://www.austintreeexperts.com/maps/employee.php?f=http%3A%2F%2Fwww.austintreeexperts.com%2Fmaps%2FgmapsXML.cfm%3Fu%3D6761%26ad%3D33415 -- 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: Formatting the new AdSense unit
For anyone that would like to vote this feature request up: http://code.google.com/p/gmaps-api-issues/issues/detail?id=3046 On Feb 11, 2:05 pm, Luke Mahé lu...@google.com wrote: Styling is currently not available. Please file a feature request if it is something that you would like to be added. Thanks -- Luke On Fri, Feb 11, 2011 at 11:46 AM, gavinharriss m...@gavinharriss.comwrote: Is there a way to format the styling of the new AdSense untis for Google Maps? http://code.google.com/apis/maps/documentation/javascript/advertising... I've not been able to change the colors / styling from the default ones when I had a play. Anyone know how to do this? Cheers, Gavin -- 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: Don't show direction with application bada
Is this a picture/photo of an actual device, or of a simulated device? On Sat, Feb 12, 2011 at 3:33 AM, Rossko ros...@culzean.clara.co.uk wrote: Every body can help me , why don't it show a direction? Absolutely no idea, can't debug a picture of a phone. What browser is in use, is it supported by the Maps API ? -- 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: Advice on how its best to display large ammount of markers
Thanks for the first one i will look at it right now. But what about loading markers as tiles loads but instead of putting pre-generated server image to load markers data i think it will pull 6 or more times faster data, but nobody uses this atleast i cant find on 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-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: Advice on how its best to display large ammount of markers
also the MarkerManager is for V2 google maps? -- 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: Advice on how its best to display large ammount of markers
Yeah, sorry, this was the wrong link. The right one is here: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markermanager/ (can also be found in Chris's and Luke's article) -- 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: Advice on how its best to display large ammount of markers
Hi. I developed the map here: http://planefinder.net/ The map uses a custom tile layer instead of markers and performed well when tested under development, but once it went live we had problems - the server just couldn't handle the load! The map displays from a few hundred to over a thousand planes and updates every 30 seconds, with more than a few users online there were just too many requests for tiles and other data. I'm now perfecting the update which uses custom tiles for zoom levels 0 to 3 and from zoom level 4 and higher it uses a (very) lightweight marker. So the custom tile layer's getTile() method either: 1) Requests a custom tile for zoom levels 0 to 3 (the server can handle this). or 2) Uses a 1 pixel square transparent PNG for tiles at zoom levels 4 and higher and then creates a table of planes that are within the tile's bounds and adds those plane's markers to the map if not already added. A single map mousemove event listener detects which tile the mouse is currently over and whereabouts on the tile the mouse is positioned. The code then iterates through the table of planes on that tile and generates mouseover and mouseout events. Finally a map idle event listener detects which markers are added to the map but not within the map's current bounds (plus a bit of padding) and removes those markers from the map. The new map loads data for all planes when it loads and then every 30 seconds - so there's no ongoing requests to the server for plane data as tiles are loaded. It's seems to work fine and performance is good - even with nearly a thousand planes visible the map is still useable in most browsers (IE as always not a great performer LOL). I'll not post a link to the new under development map here but if you'd like to take a look at it then get in touch and i'll send you a link. Martin. On Feb 13, 12:35 am, valium...@gmail.com valium...@gmail.com wrote: Thanks for the first one i will look at it right now. But what about loading markers as tiles loads but instead of putting pre-generated server image to load markers data i think it will pull 6 or more times faster data, but nobody uses this atleast i cant find on 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-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] Pan and Zoom Animation
Hi, I have a website called kindlemap.net. The problem I have is that because the screen update is slow (approx 1 second) on a Kindle 3 what happens is when you use the pan or the zoom control it is very, very slow. If you have a Kindle 3 you will see what I mean. I read about disabling the animation by use of map.setCenter() and I have a page at www.kindlemap.net/test.htm which works OK for panning. But still the zoom does the animation which is slow. It would be nice to be able to just disable animation on the map with a simple boolean. As you can see from the test.htm I had to move the controls off the map to eliminate the pan animate slowness. But the zoom is still a problem. Any ideas or possibly a change request. Thanks, Al -- 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: 2011/2/8 - New Release (Maps API 3.4)
Hi Ben - Thanks for the info. WebGL/graphics card indeed appears to be the problem and the mode:html4 seems to have done the trick. Thanks again, Cheers - Abel On Feb 12, 2:50 am, Ben Appleton apple...@google.com wrote: Hi Abel, Would you mind loading this WebGL test page?http://learningwebgl.com/lessons/lesson01/index.html This page does not use the Maps API, so it will help to distinguish WebGL issues from Maps API issues. I have seen this hang on several Windows machines. Street View uses WebGL where available. In the last couple of days Chrome 9 released WebGL support. Unfortunately it appears WebGL causes some graphics cards to hang. Right now we're discussing with Chrome team how to proceed. I imagine in the next few days either Chrome will disable WebGL for the affected graphics cards, or we will disable WebGL in Street View until it stabilizes. In the meantime you can apply one of the following workarounds: 1. If you are explicitly constructing the StreetViewPanorama, you can include mode:html4 in the constructor options to disable WebGL. For example var panorama = new google.maps.StreetViewPanorama({mode:html4}); 2. Or, ask affected users to include the command-line switch --disable-webgl. 3. Or, ask affected users to switch browser. Thanks, Ben On Sat, Feb 12, 2011 at 5:28 PM, Abel abel@gmail.com wrote: Hi Chris - We're having a strange problem with the v3.4 release. When I try to open any page that uses the Streetview portion of the API it seems to hang Chrome on some Windows PCs (but is OK with other browsers). For example the sample map at: http://code.google.com/apis/maps/documentation/javascript/examples/st... causes problems (it just doesn't load at all, we just see a blank page). The reason I think it might be due to v3.4 is that when I grab the page and explicitly set it back to v3.1 it works fine (v3.2 and 3.3 also have issues). What's baffling is that on some PCs it's OK but others with seemly the same setup have issues. I've tested using Win7, XP and Vista with the latest version of Chrome and there doesn't seem to be any consistency -- some machines/browsers are OK, some not. The only common thing is that when we go back to v3.1 it's OK. Also, we've only seen this with Chrome on a PC, other browsers are OK and we haven't seen any issues Chrome on a Mac. Any thoughts? Thanks, - Abel On Feb 7, 11:40 pm, Chris Broadfoot (Google Employee) c...@google.com wrote: Hi all, We're pleased to announce version 3.4 of the Maps API for JavaScript. Firstly, a reminder that if you do not specify a minor version when loading the Maps API, you will automatically receive 3.4. Production applications should always specify a minor version (v=3.2, v=3.3). Read more about versioning here: http://code.google.com/apis/maps/documentation/javascript/basics.html... Also, 3.1 will be unavailable from next week. If you currently load v=3.1, you will receive 3.2. 3.4 includes all changes for 3.3. You can see the full change log here: http://code.google.com/p/gmaps-api-issues/wiki/JavascriptMapsAPIv3Cha... In this release: * New hierarchical map type controls - they're touch-friendly! * New logo (Issue 2574) * MarkerShape.coord renamed to MarkerShape.coords to match HTML area coords attribute Some of you may have custom controls that are designed with a look and feel that match the 3.3 default Maps API map type controls. The 3.4 controls are a bit more complex to imitate so here is a demo page with some sample CSS showing how to do this: http://gmaps-samples-v3.googlecode.com/svn/trunk/controls/index.html Source: http://code.google.com/p/gmaps-samples-v3/source/browse/trunk/control... Enjoy! Chris --http://twitter.com/broady -- 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] V3 Map with Sidebar on the left
I've been trying for 3 days to get the sidebar on the *left* and I don't know enough how to accomplish this task. I used the Google maps template which stores the information in a Google spreadsheet. I tried document.getElementById(cm_mapTR).insertBefore(sidebarTD).firstChild; but it had no effect on my map. Any suggestions would be appreciated. My development map is at: http://eyehike.host56.com/map7/mapwithsidebar.htm The permanent location of this map will be at eyehike.com Steve Jones -- 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] V3 Map with Sidebar on the left
document.getElementById(cm_mapTR).insertBefore(sidebarTD, document.getElementById(cm_mapTR).firstChild); On Sat, Feb 12, 2011 at 10:25 PM, sttjones sttjo...@yahoo.com wrote: I've been trying for 3 days to get the sidebar on the left and I don't know enough how to accomplish this task. I used the Google maps template which stores the information in a Google spreadsheet. I tried document.getElementById(cm_mapTR).insertBefore(sidebarTD).firstChild; but it had no effect on my map. Any suggestions would be appreciated. My development map is at: http://eyehike.host56.com/map7/mapwithsidebar.htm The permanent location of this map will be at eyehike.com Steve Jones -- 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.