[Google Maps API v3] API V3 key / usage limits
I'm getting confused and frustrated trying to understand the new API key scheme. The V3 documentation really needs to be brought up to date to reflect the recent usage / key 'features'. What's to prevent some other developer from lifting my key from a page and using it for their own site? I gather that there may be some way to limit access to certain domains - but I haven't found a definitive answer. Like I said - maybe add a page to the API doco dealing specifically with useage limits, keys, etc. It may be that all this already exists but I am so busy at the moment that I don't have time for a hunt the wumpus session. Flame off. Resuming serene operations. Hope everyone has a great holiday season. -- 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: API V3 key / usage limits
I did find this: https://code.google.com/apis/console-help/ It relieves some of my confusion. -- 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: Quick Noob Q
Hi Nowhere in any of these documents am I able to find a recommendation to acquire an API key for v3. Once you’ve created an APIs Console account, please follow the instructions in the Maps API documentation to enable Maps API v2 or Maps API v3 on your APIs Console Project, and update your application to provide your APIs Console key when loading the Maps API. Regards Davie -- 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: Maps API v3 and IPad 2
Hi Geoff, I haven't started testing on an IPad (other than on my daughters who is simply visiting). I don't own one, so I started searching for advice. As usual, the most prolific comments are negative. My site works on Safari (PC/MAC), but knowing that there are only fingers or a stylus for user input, I wanted to know if there were recommended methods for adapting to the IPad. Here's my site : http://www.letrajet.com Simon On Dec 21, 8:07 pm, Geoff Schultz geoffrey.w.schu...@gmail.com wrote: What problems are you seeing? I make extensive use of V3 functionality and it runs fine on an iPad 2 with iOS 5. Certain things don't work, such as right-click, but there you just need to change the UI to work around these issues. Seehttp://www.geoffschultz.org/weather_map.php -- Geoff -- 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: Controlling visibilty of ArcGIS tiled/cached layers added as overlays with a menu
WOW!Or damn - so simple!...Thank you! You saved me for days of work I guess. Wish I could help you back butRegards! On 21 Des, 20:38, Nianwei Liu nian...@gmail.com wrote: Since you want use a base that is neither google or arcgis, you need go overlayMapType for your arcgis maps and use your custom map (open cache) as a map type. I believe this is what you are after:http://gmaps-utility-gis.googlecode.com/svn/trunk/v3test/multikart/mu... -- 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] Google calculated Distance differs PostGIS
The problem is: distance calculated in postgis differs (not slightly) from distance returned by google maps. This brings to inconsistency in what the user sees on the map. Example: We have two points with SRID 4326 A) POINT(45.5398382001 10.22295620) B) POINT(45.53945870 10.22567910) * you can place the coords in google and see what the result looks like Google will give a distance of 220meters, PostGIS of about 304 meters (or about 305 meters using a spheroid) Now, I understand routing distance (i.e. google distance) it's not the same as spatial distance (i.e. calculated with st_distance in postgis) but still I can't explain why the result differs so much. How can I make PostGis calculate the same (more or less) distance as google? Now I explain why this is an issue. phase 1) I let the user indicate pointA on the map adding a marker. Then I draw a circle, with center pointA, and radius of 250 meters. PointB (assume it's already loaded on the map, because of a previous query) will be included (visually) in the circle area, because according to google pointB is 220 meters away from pointA. So the user confirms the action and saves to the db. phase 2) I want to let the user mark (later, when he logs in again perhaps) a point on the map and draw a circle as before, this time pointB is not already placed on the map (so the user does not have a visual clue of where pointB actually is). I'm going to query PostGis to know if there are any points that intersects the circle drawn by the user. assume we have a very simple table with just one row that holds pointB and a query like this SELECT * FROM mytable where ST_DWithin(:pointA, pointB, 250.0) now the problem is that this query won't return any result because according to postgis pointB is 304 meters away from pointA. But wait, when the user created pointA he SAW ON THE MAP that PointB IS in the area of the circle with center PointA and radius 250 meters. So, I can I fix this? I could use a tolerance in my queries, but what value should i assign to the tolerance(based on which logic?). 100 meters? Could work sometimes, maybe other times not, it could be too much or too little. I'll appreciate any help,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] A Google Map without a Map
Would it be possible to have Google Maps list a series of categorized places instead? For example, I want a list of restaurants near a certain defined place. The parameters of this place consists out of a Country and a zipcode, or a Country, a town and address. Like the text on left side of the Google Maps interface. In this case, restaurants in the vicinity of Hoogeveen, Netherlandshttp://maps.google.nl/maps?q=Restaurant+in+de+buurt+van+Hoogeveen,+Netherlandshl=nlll=52.714771,6.475925spn=0.072793,0.181789sll=52.057134,5.401238sspn=0.295541,0.727158vpsrc=6hq=Restauranthnear=Hoogeveen,+Drenthet=mfll=52.709467,6.470604fspn=0.072802,0.181789z=13 . -- 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/-/nzx_lDudey4J. 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: Maps API v3 and IPad 2
Nice concept. It seems to run the more or less the same on an iPad as it does on the PC. I get the same Passing error when I use Paris/ Hamburg and a 20 KM search zone. The distance slider seems to not work correctly. Anyhow, the bottom line is that you just need to test, test, test and find solutions that work on tablets as well as standard browsers. -- Geoff -- 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] A Google Map without a Map
See this section in the Places API docs http://code.google.com/apis/maps/documentation/places/#Limits On Thu, Dec 22, 2011 at 9:52 AM, Erik Ehrhardt erikehrha...@gmail.com wrote: Would it be possible to have Google Maps list a series of categorized places instead? For example, I want a list of restaurants near a certain defined place. The parameters of this place consists out of a Country and a zipcode, or a Country, a town and address. Like the text on left side of the Google Maps interface. In this case, restaurants in the vicinity of Hoogeveen, Netherlands. -- 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/-/nzx_lDudey4J. 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: How to detect change in directions RouteIndex?
From Maps API office hours I discover there actually is a routeindex_changed event but this is not documented. So the issue should be changed to please ensure that ALL events are documented in the API reference, Users are not mind readers and with the closure compilers it is difficult to be a code reader! It is frustrating that I have suffered this problem for over 4 months and been unable to find the answer before now despite raising an issue and writing forum posts -- 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/-/VnuHMI_bv24J. 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] Drawing manager - Snap to road option
In the web UI the line drawing tool has a Snap to road option which makes following the curves of a road a lot simpler than having to add a point at each bend. Are there any plans to add this functionality to the API drawing manager for polylines? It would also be a useful option for polygons which are bounded by roads. Ideally it would also be nice to be able to Snap to footpaths, rivers, railroads, boundaries etc. -- 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/-/8F7xrR8vGkwJ. 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 calculated Distance differs PostGIS
Is there any reason to think your PostGIS is in the same projection/ coordinate system as Google's map? You may need to be doing some conversion somewhere. -- 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 calculated Distance differs PostGIS
What is the exact query you're using in PostGIS to get your distance? 4326 should be fine. That's what Google uses too. -John Coryat -- 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/-/Txsp9DklzbcJ. 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] Evaluating Google MAP api: issue with passing the key while loading js with google loader
I would think you use script type=text/javascript src=http://www.google.com/jsapi;/script ... google.load(maps, 3.6, { language: ja, other_params:sensor=falsekey={CONSOLE_API_KEY} }); On Thu, Dec 22, 2011 at 3:59 AM, Pierre-Henri Lavigne pe...@allianceport.jp wrote: Good day all, Today I was playing with the google console to monitor usage limits for google maps with our current clients. I have a current issue with one of my site I already noticed two issues I have to fix before 1) Google Analytics is called twice 2) I have to remove the old Google Map Key ( Related https://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/a097fb23915d01d6?hl=en ) I'm using the version 3 of the google map API and it seems using the google loader the key isn't passed to the map so my report is always empty. script type=text/javascript src=http://www.google.com/jsapi? key={CONSOLE_API_KEY}/script script type=text/javascript !-- google.load(jquery, 1.3.2); google.load(maps, 3.6, { language: ja, other_params: sensor=false }); google.load(swfobject, 2.2); -- /script With the developer toolbar, the script called looks like: script type=text/javascript src=http://maps.googleapis.com/maps/ api/js?v=3.6hl=jasensor=false/script On other sites using google loader with google maps v2 it looks like: script type=text/javascript src=http://maps.google.com/maps? file=googleapikey={CONSOLE_API_KEY}v=2/script On the google loader document, only google map api version 2 is written as available: http://code.google.com/apis/loader/#AvailableAPIs Any help appreciated :-) Cheers, Peter -- 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] API V3 key / usage limits
Your questions seems to be answered here http://code.google.com/apis/maps/documentation/javascript/tutorial.html#Obtaining_Key On Thu, Dec 22, 2011 at 9:35 AM, RoyHB roy.bar...@gmail.com wrote: I'm getting confused and frustrated trying to understand the new API key scheme. The V3 documentation really needs to be brought up to date to reflect the recent usage / key 'features'. What's to prevent some other developer from lifting my key from a page and using it for their own site? I gather that there may be some way to limit access to certain domains - but I haven't found a definitive answer. Like I said - maybe add a page to the API doco dealing specifically with useage limits, keys, etc. It may be that all this already exists but I am so busy at the moment that I don't have time for a hunt the wumpus session. Flame off. Resuming serene operations. Hope everyone has a great holiday season. -- 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: Google calculated Distance differs PostGIS
This is not a PostGIS support group, but you're inverting latitude and longitude. PostGIS uses POINT(lon lat) select ST_Distance_Sphere( ST_GeomFromText('POINT(10.22295620 45.5398382001)'), ST_GeomFromText('POINT(10.22567910 45.53945870)') ) Result: 216.223944861114 select ST_Distance_Sphere( ST_GeomFromText('POINT(45.5398382001 10.22295620)'), ST_GeomFromText('POINT(45.53945870 10.22567910)') ) Result: 305.606787846591 -- Marcelo - http://maps.forum.nu -- On Dec 22, 3:55 am, Luca Borzani luca.borzani.al...@gmail.com wrote: The problem is: distance calculated in postgis differs (not slightly) from distance returned by google maps. This brings to inconsistency in what the user sees on the map. Example: We have two points with SRID 4326 A) POINT(45.5398382001 10.22295620) B) POINT(45.53945870 10.22567910) * you can place the coords in google and see what the result looks like Google will give a distance of 220meters, PostGIS of about 304 meters (or about 305 meters using a spheroid) Now, I understand routing distance (i.e. google distance) it's not the same as spatial distance (i.e. calculated with st_distance in postgis) but still I can't explain why the result differs so much. How can I make PostGis calculate the same (more or less) distance as google? Now I explain why this is an issue. phase 1) I let the user indicate pointA on the map adding a marker. Then I draw a circle, with center pointA, and radius of 250 meters. PointB (assume it's already loaded on the map, because of a previous query) will be included (visually) in the circle area, because according to google pointB is 220 meters away from pointA. So the user confirms the action and saves to the db. phase 2) I want to let the user mark (later, when he logs in again perhaps) a point on the map and draw a circle as before, this time pointB is not already placed on the map (so the user does not have a visual clue of where pointB actually is). I'm going to query PostGis to know if there are any points that intersects the circle drawn by the user. assume we have a very simple table with just one row that holds pointB and a query like this SELECT * FROM mytable where ST_DWithin(:pointA, pointB, 250.0) now the problem is that this query won't return any result because according to postgis pointB is 304 meters away from pointA. But wait, when the user created pointA he SAW ON THE MAP that PointB IS in the area of the circle with center PointA and radius 250 meters. So, I can I fix this? I could use a tolerance in my queries, but what value should i assign to the tolerance(based on which logic?). 100 meters? Could work sometimes, maybe other times not, it could be too much or too little. I'll appreciate any help,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: Drawing manager - Snap to road option
On Dec 22, 7:46 am, MymsMan bobbux...@gmail.com wrote: Are there any plans to add this functionality to the API drawing manager for polylines? Google never announce their plans in advance, but I hope that the answer is No. Snap to road is quite simple to implement by yourself and there's no need to bloat the API code with a feature that only 1/1000 will use. All you need to do is to get directions between that last two points added and the routing engine will automatically return a point that is on the nearest road, which you can then use to modify the position of the marker and/or polyline. -- Marcelo - http://maps.forum.nu -- It would also be a useful option for polygons which are bounded by roads. Ideally it would also be nice to be able to Snap to footpaths, rivers, railroads, boundaries etc. -- 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 to viewing list of all my API keys
I have at least one API key. How can I view them, and the domain associated with each key? Thanks, Mike -- 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/-/qD9se321Rc8J. 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] Stuck in endless loop trying to get api key
Hit submit, takes me to login, login, takes me to API key page, (Lather, rinse, repeat indefinitely). Anyone have any ideas? -- 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/-/zDHZljcuviUJ. 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] Failed to load API V3 using Firefox over HTTPS
Browser Firefox 9.0 - Using 1. -Host https://maps-api-ssl.google.com/maps/api/js?v=3.7sensor=false Response Sorry, we have no imagery here | Google is not defined 2. -Host https://maps.googleapis.com/maps/api/js?v=3.7sensor=false Response Failed to Load https://maps.googleapis.com/maps/api/js Test Site http://www.projectbacon.org/test.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] Translate Street Address into a Grid position?
HI! I want to know if it is posible to translate a Street Address from a City to a Grid coordinate or region or other thing than latitud and longitud coordinates? 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.
Re: [Google Maps API v3] Translate Street Address into a Grid position?
Use the geocoder, to get a WGS84 Lat/Long. Then transform that to the required system. There is probably a conversion routine available for your chosen grid. On Thu, Dec 22, 2011 at 4:49 PM, tksko nik...@gmail.com wrote: HI! I want to know if it is posible to translate a Street Address from a City to a Grid coordinate or region or other thing than latitud and longitud coordinates? 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. -- 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: Failed to load API V3 using Firefox over HTTPS
Your test page loads fine for me on Firefox 3.0.1 -- Marcelo - http://maps.forum.nu -- On Dec 22, 8:45 am, foxrg...@yahoo.com foxrg...@yahoo.com wrote: Browser Firefox 9.0 - Using 1. -Hosthttps://maps-api-ssl.google.com/maps/api/js?v=3.7sensor=false Response Sorry, we have no imagery here | Google is not defined 2. -Hosthttps://maps.googleapis.com/maps/api/js?v=3.7sensor=false Response Failed to Loadhttps://maps.googleapis.com/maps/api/js Test Sitehttp://www.projectbacon.org/test.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: Stuck in endless loop trying to get api key
Hit submit, takes me to login, login, takes me to API key page Which page exactly? People sometimes got into a loop like that on the old V2 maps key generator, and found that clearing cookies or using another browser sorted 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: Stuck in endless loop trying to get api key
I've tried three machines. Still in endless loop! Hmm Rick Vines President | Axcell Technologies, Inc. 847.304.8837 x701 | rvi...@axcelltech.com Contact Support: 847.304.8837 x5 | supp...@axcelltech.com Please note that support requests via emails phone calls made directly to consultants are not part of the SLA agreement and not subject to a guarantee. -Original Message- From: google-maps-js-api-v3@googlegroups.com [mailto:google-maps-js-api-v3@googlegroups.com] On Behalf Of Rossko Sent: Thursday, December 22, 2011 2:03 PM To: Google Maps JavaScript API v3 Subject: [Google Maps API v3] Re: Stuck in endless loop trying to get api key Hit submit, takes me to login, login, takes me to API key page Which page exactly? People sometimes got into a loop like that on the old V2 maps key generator, and found that clearing cookies or using another browser sorted 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. -- 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 calculated Distance differs PostGIS
Marcelo, Good catch... -John -- 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/-/fq3mhW4TCJsJ. 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] I cannot hide a circle overlay - please help
I have drawn a circle. Everything is fine but I wanna have two buttons to hide and show the circle similar like this example: http://koti.mbnet.fi/ojalesa/v3/circleAndBounds.htm In regards to the API, the buttons should hide the drawn circle. But my code isn't working. The circle shows up but I cannot hide it. Is there anybody who can help me with that? Code: function initialize() { var latlng = new google.maps.LatLng(?php echo $lat.,.$lng ?); ... var map = new google.maps.Map(document.getElementById('map_canvas'), options); var marker = new google.maps.Marker({ map: map, title: 'hotspot', icon: 'mymarker.png', position: new google.maps.LatLng(?php echo $lat.,. $lng; ?) }); var circle = new google.maps.Circle({ map: map, radius: 1000, fillColor: '#000caa' }); circle.bindTo('center', marker, 'position'); setOtherMarkers(map); } function setOtherMarkers(map) { ... } ... body onload=initialize() . button onclick=circle.setMap(null)Hide/button button onclick=circle.setMap(map)Show/button ... -- 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] I cannot hide a circle overlay - please help
On 22 December 2011 20:51, Starson liz1...@gmail.com wrote: In regards to the API, the buttons should hide the drawn circle. But my code isn't working. The circle shows up but I cannot hide it. Is there anybody who can help me with that? Javascript on buttons runs in global scope. Your circle variable is not valid in global scope; it's local to the function initialize(). You should get an error indicating that circle is not defined (or some such, it varies between browsers). -- 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] I cannot hide a circle overlay - please help
On 22 December 2011 21:07, Andrew Leach andrew.leac...@gmail.com wrote: Javascript on buttons runs in global scope. Your circle variable is not valid in global scope; it's local to the function initialize(). You should get an error indicating that circle is not defined (or some such, it varies between browsers). Actually, your variable map isn't global either, so this will fail for two reasons: onclick=circle.setMap(map) -- 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: I cannot hide a circle overlay - please help
You were right, I have overseen the error message at the console saying circle is not defined. I made both variables global by adding var circle; var map; outside the function. Now it works fine, thanks a lot Andrew! But during checking I saw a error messages saying: Image corrupt or truncated: http://maps.googleapis.com/maps/api/js/StaticMapService.GetMapImage?3c4... Something to worry about? On 22 Dez., 22:09, Andrew Leach andrew.leac...@gmail.com wrote: On 22 December 2011 21:07, Andrew Leach andrew.leac...@gmail.com wrote: Javascript on buttons runs in global scope. Your circle variable is not valid in global scope; it's local to the function initialize(). You should get an error indicating that circle is not defined (or some such, it varies between browsers). Actually, your variable map isn't global either, so this will fail for two reasons: onclick=circle.setMap(map) -- 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.