[Google Maps API v3] Re: Populating markers through geolocation after processing request

2010-12-21 Thread blob
If you want to store the goecoded data first in a database (which is more than a good idea because for already gecoded addresses you don't have to repeat the geocoding again and again) you can use the Google geocoding API. This is a short sample (in PHP) how you can use the geocoding API: $ad

[Google Maps API v3] Re: Extract all addresses\ LatLng in the polygon

2010-11-23 Thread blob
> I want to access/extract all the possible markers of any particular > City/Location in India by using any Google Maps APIs (Public/Premier). > Please let me know whether it is possible or not. Just as said before, this is not possible with the Google Maps APIs. -- You received this message bec

[Google Maps API v3] Re: error in tutorial

2010-11-10 Thread blob
Cannot agree. With Firefox 3.6.12 (Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0C)) it works quite fine. Cheers -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3"

[Google Maps API v3] Re: OVER_QUERY_LIMIT: Server access (Google App Engine)

2010-11-10 Thread blob
Seems you've had a bad day Dave... So let's end the discussion with this: start a feature request at http://code.google.com/p/gmaps-api-issues/issues/list -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, s

[Google Maps API v3] Re: geocoding and API quotas with shared / cloud hosting

2010-11-09 Thread blob
ent. I will have to email google as my site is "non profit" project > and we just started this for fun and to be useful and after getting > annoyed with freecycle spammers. I will contact google for the premier > this weekend. Thanks for your help blob - appreciated! I think in th

[Google Maps API v3] Re: geocoding and API quotas with shared / cloud hosting

2010-11-09 Thread blob
Hello again, I've just taken a look at your site too. If I understand your application right, you have a lot of items located at some places/locations. Do you already store the coords of these locations or do you geocode them each time you need the coords? -- You received this message because y

[Google Maps API v3] Re: geocoding and API quotas with shared / cloud hosting

2010-11-09 Thread blob
Be careful using the Yahoo geocoder. It has the same terms of use as Googles geocoder. You must use it in conjunction with a Yahoo Map (see Yahoo! Map API Terms of Use, "you shall not (ix) use the stand-alone geocoder for any use other than displaying Yahoo! Maps or displaying points on Yahoo! Maps

[Google Maps API v3] Re: OVER_QUERY_LIMIT: Server access (Google App Engine)

2010-11-09 Thread blob
Hi Dave, > Once we are in full production, the intention is (was?) to move over to > Premier, but as I said earlier it's not clear from the documentation if > the IP based limit is still enforced, or if you are then based on a > keyed 100,000 requests. If you are using Premier you will get a clie

[Google Maps API v3] Re: how to disable the zoom control, street view, and directions from map?

2010-11-08 Thread blob
Take a look at the map options (see API reference http://code.google.com/intl/en/apis/maps/documentation/javascript/reference.html#MapOptions): draggable, mapTypeControl, navigationControl, scaleControl, scaleControlOptions streetViewControl For example: var myMapOptions = { zoom: 4,

[Google Maps API v3] Re: OVER_QUERY_LIMIT: Server access (Google App Engine)

2010-11-08 Thread blob
PS: You can still use the geocoder from v2 too... (but this is the v3 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...@googlegroups.com. To unsubscribe from th

[Google Maps API v3] Re: OVER_QUERY_LIMIT: Server access (Google App Engine)

2010-11-08 Thread blob
Hi Dave, if you are relying so much on the geocode API (on the server side) and you have to use a shared environment I would suggest that you should really think of being a user of the Google Maps API Premier (see http://code.google.com/intl/en/apis/maps/documentation/geocoding/#Limits). Or you ha

[Google Maps API v3] Re: map.setCenter

2010-10-28 Thread blob
You can use the fitBounds method for this. a) create a bounds object: var bounds = new google.maps.LatLngBounds(); b) each time you place a new marker (polyline/polygon, circle/ rectangle overlay etc). extend the bounds object by its lat,lng.;e.g. var markerLatLng = new google.maps.LatLng

[Google Maps API v3] Re: how to reverse geocode thru php

2010-10-22 Thread blob
Of course I've assumed you're using the google geocoder only with a corresponding Google map. If this is not the case you have to use another geocoder.. The above shown example code can be easily adapted to the OpenStreetMap geocoder for example. Just replace the URL by http://nominatim.openstreet

[Google Maps API v3] Re: how to reverse geocode thru php

2010-10-22 Thread blob
Yes! You can use the geocoding api for this. Take a look at http://code.google.com/intl/en/apis/maps/documentation/geocoding/#ReverseGeocoding. For example you could do the following: // call geoencoding api with param json for output $geoCodeURL = "http://maps.googleapis.com/maps/api/geo

[Google Maps API v3] Re: Info window for circle overlay

2010-10-22 Thread blob
Forget about it, it works now! I have always used the same sample set of marker and circle coordinates. After I have changed one of them everything works as expected. Even with the previous set of sample coordinates. Don't know what has happened there. Cheers. -- You received this message becaus

[Google Maps API v3] Info window for circle overlay

2010-10-22 Thread blob
Maybe I'm a bit dumb today but I'm not able to add/position an info window for a circle overlay. What I have coded is the following: var circleLatLng = new google.maps.LatLng(52.0149436, 8.5275128); var circle0 = new google.maps.Circle({ center: circleLatLng, rad

[Google Maps API v3] Re: API issues on mac? Store locator does not work on macintosh (safari,firefox,etc)

2010-10-22 Thread blob
Just another thought. Since you are already using PHP for part of your application you can do a little more "debugging" using PHP to write a log each time your genxml2.php script is called. I would keep record of a timestamp, the values of the parameters lat and lng, how many store locations have b

[Google Maps API v3] Re: API issues on mac? Store locator does not work on macintosh (safari,firefox,etc)

2010-10-21 Thread blob
> @blob, the 8th location, KR Retail is there. It's just under Leavitt's > Kitchen. Those two stores are only a mile or so apart, so zoomed out > to that level, they overlap and look like one. Uups... sorry for that. Should have zoomed out a little more or just taken a

[Google Maps API v3] Re: API issues on mac? Store locator does not work on macintosh (safari,firefox,etc)

2010-10-21 Thread blob
Hi Blaine, that's not happening on my Mac (a MacBook Pro 1.1 running Mac OS X 10.5.8) neither with Firefox 3.6.10 nor with Safari 5.0.2. 84770, 50 mi: 2 locations displayed Las Vegas, 50mi: JS alert, 0 locations displayed Las Vegas, 250mi: 7 locations displayed The same results as with my Window

[Google Maps API v3] Re: Adding Multiple Markers

2010-10-21 Thread blob
You can simply add new markers by creating a new latlng point with the LatLng constructor and next creating a new marker with the Marker constructor. var markerLatLng = new google.maps.LatLng(52.02235, 8.54339); var marker0 = new google.maps.Marker({ position: markerLatLng

[Google Maps API v3] Re: Positioning the pegman control

2010-10-20 Thread blob
Hi Steinfaust, I've asked the same question a few days ago and Chris from Google has answered the following: "Not yet. We've filed this issue internally. You can see the external issue here: http://code.google.com/p/gmaps-api-issues/issues/detail?id=2524 If you'd like, please star it to show yo

[Google Maps API v3] Re: Position of the StreetViewControl

2010-10-18 Thread blob
Thanks Chris! -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegr

[Google Maps API v3] Re: Remove info window when clicked outside

2010-10-17 Thread blob
Hello, first I must say that Esa's example is really nice! I have another suggestion using multiple instances of InfoWindows (one for each marker), using a global variable to keep record of the current displayed info window. code snippet: // global var to keep record of the currently di

[Google Maps API v3] Re: How to change the "behaviour" of the ZOOM_PAN navigation control?

2010-10-17 Thread blob
Thanks Esa, that's a good idea. Posittionning might be somewhat tricky but I will try. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe f

[Google Maps API v3] Re: Geocoding Web Service in PHP

2010-10-15 Thread blob
Try using the following code http://"; . MAPS_HOST . "/maps/api/geocode/xml"; $request_url = $base_url . "?address=" . urlencode($address) ."&sensor=false"; $xml = new SimpleXMLElement(file_get_contents($request_url)); echo "-->".$xml->status; echo "-->".$xml->result->geometry->location->lat; ec

[Google Maps API v3] Re: Any recommendations for a PHP Class to handle API calls for me?

2010-10-15 Thread blob
I too. Geocoding is also supported. You can find simpleGMapAPI at http://www.rvs.uni-bielefeld.de/~heiko/projects/simpleGMapAPI.html Regards, blob -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send

[Google Maps API v3] Position of the StreetViewControl

2010-10-15 Thread blob
Hi there, is it possible to change the position of the StreetViewControl as with the other control elements? I tried it by adding "streetViewControlOptions: { position: google.maps.ControlPosition.BOTTOM_RIGHT }" but did not succeed... All the best, blob -- You received this messa

[Google Maps API v3] How to change the "behaviour" of the ZOOM_PAN navigation control?

2010-10-15 Thread blob
Hi all, does anyone know if there is a possibility to change the behaviour of the ZOOM_PAN navigation control? To be more precise to add a new behavior to the "hand" shown between the direction markers? When I'm opening a map at maps.google.com, doing some zooming and moving, and clicking on the