[Google Maps API v3] Re: How to get usage statistics in Maps API V3?

2011-10-27 Thread BruceB
If you scan the 2-3 paragraphs in the Premier documentation where it describes what constitutes a page view (http://code.google.com/apis/maps/documentation/premier/faq.html#pageview), you could pretty easily implement your own tracking via Google Analytics or some other mechanism that counts wh

[Google Maps API v3] Re: Search always goes to Pacific Ocean

2011-10-17 Thread BruceB
Might be a design choice, but if it were me I would simply check for zero results from your search service, and if there are no results I would center the map on the lat/lng that was returned from the geocoder (i.e. save the geocode response in a variable that you can access from your search ser

[Google Maps API v3] Re: Search always goes to Pacific Ocean

2011-10-14 Thread BruceB
There's something wrong with your PHP search app (phpsqlsearch_genxml.php), because it's returning an empty XML document. So in your callback function the bounds object is initialized but never set with any other values, so it's defaulting to the Pacific Ocean. For example, a search for "texas"

[Google Maps API v3] Re: charges for using v3 map on website

2011-10-13 Thread BruceB
>From code.google.com/apis/maps: Businesses that charge fees for access, track assets or *build internal applications* must use Google Maps API Premier, which provides enhanced features, technical support and a service-level agreement.

[Google Maps API v3] Re: Google Maps V3 Api and geocoding

2011-10-12 Thread BruceB
You might want to check the terms of useto make sure that your application abides by the section regarding caching of content: (b) *No Pre-Fetching, Caching, or Storage of Content.* You must not pre-fetch, cache, or store any Content, except that yo

[Google Maps API v3] Re: How to remove certain places on a map

2011-10-11 Thread BruceB
You can't specifically show one particular store or set of stores in the styling interface. You would have to hide all POIs, and then use the Places API to search for and show your store(s) using the Marker overlay. -- You received this message because you are subscribed to the Google Groups "

[Google Maps API v3] Re: Places search bounds size

2011-10-11 Thread BruceB
I believe there was a recent fix that brought the search radius limit down to 50km -- discussed here http://code.google.com/apis/maps/documentation/webservices/forum.html?place=topic%2Fgoogle-maps-api-web-services%2FboFRM7O7ds8%2Fdiscussion -- You received this message because you are subscrib

[Google Maps API v3] Re: How to remove certain places on a map

2011-10-11 Thread BruceB
You can remove points of interest (POIs) from your map using the styling features: http://code.google.com/apis/maps/documentation/javascript/styling.html#styling_the_default_map and http://code.google.com/apis/maps/documentation/javascript/styling.html#map_features Just set the visible propert

[Google Maps API v3] Re: Key Validation

2011-10-07 Thread BruceB
When you say they don't work, what behavior or error messages do you see? -- 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/-/t-_ldJrx

[Google Maps API v3] Re: Turn off console logging

2011-10-05 Thread BruceB
Could you elaborate a little? What sort of messages are you seeing in the javascript console? -- 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

[Google Maps API v3] Re: create colored overlay of regions on map

2011-10-05 Thread BruceB
Have you looked into using a Fusion Tables layeron your map? Lots of examples posted here: https://sites.google.com/site/fusiontablestalks/stories An example from the documentation: http://code.google.com/a

[Google Maps API v3] Re: Where is BrowserIsCompatible()

2011-10-05 Thread BruceB
[G]BrowserisCompatible is not available in v3. There's a feature requestcreated for it in the forum -- I would "star" it if you want it added. -- You received this message because you are subscribed to the Google Groups "Google

[Google Maps API v3] Re: Do I need to do URL Signing when using google.maps.geocoder?

2011-10-05 Thread BruceB
You don't need to sign your client-side geocoding requests -- only for web services. If you're seeing an error stating that your ID is not valid for the site you're loading it on, I would recommend contacting Google Support. You should have received a "welcome" email with your Premier client I

[Google Maps API v3] Re: clicking on Direction Service Panel

2011-10-04 Thread BruceB
You can just choose not to use the setPanel() method that's provided with the DirectionsRenderer, and simply inspect the DirectionsResult object to display the textual directions however you like. This example doesn't use a panel: http://code.google.com/apis/maps/documentation/javascript/exam

[Google Maps API v3] Re: Display alert null not an object in IE 8

2011-10-01 Thread BruceB
You're loading the Javascript API on the home page of your web site (http://svn.rectmedia.com/webrepo/p25cruffs/website/), and initializing a map object with a DOM Node ("map_canvas") that isn't present or available on your home page: var map = new google.maps.Map(document.getElementById('*map_

[Google Maps API v3] Re: Is it possible to remove business information from the map?

2011-09-29 Thread BruceB
>From another recent response to a similar >question : This will disable all pois new google.maps.Map(mapDiv, { center: new google.maps.LatLng(...), zoom: ..., mapTypeId: google.maps.MapTypeId.ROADMAP, styles: [

[Google Maps API v3] Re: trouble when adding the geocode() to a loop

2011-09-28 Thread BruceB
This article might be worth reading: http://code.google.com/apis/maps/articles/geocodestrat.html The client-side (Javascript) geocoder isn't ideally used for geocoding a large array of addresses on demand. More commonly it would geocode one or maybe two, the results of which would be shown on

[Google Maps API v3] Re: trouble when adding the geocode() to a loop

2011-09-28 Thread BruceB
This thread is worth a read: https://groups.google.com/d/topic/google-maps-js-api-v3/GP4tZLPt_vc/discussion The function called in your for loop (getCoordinates) is then calling the geocoder and returning immediately to the for loop, because the call to the geocoder is an asynchronous call with

Re: [Google Maps API v3] Re: KML location

2011-09-26 Thread BruceB
I don't believe that you can access your KML from another application once you've uploaded it to "My Maps" in maps.google.com. You can upload it to Google Docs, then use the Sharing feature to make it "Public to the Web". Then you can use the download URL for that KML document in the Maps API t

[Google Maps API v3] Re: distance matrix help

2011-09-22 Thread BruceB
Have you thought about using Fusion Tables to get the closest 25 locations (which is by straight-line distance), and then using the Distance Matrix service to sort these locations by driving/walking distance? -- You received this message because you are subscribed to the Google Groups "Google

Re: [Google Maps API v3] Re: Is there any way to calculate the area by geographic coordinates?

2011-09-21 Thread BruceB
It's not available as a web service, so you'd have to roll your own algorithm. I believe the geometry library itself is provided mainly as a convenience -- but the distance, direction, and area calculations it provides just use well-known algorithms that anyone can implement. -- You received

[Google Maps API v3] Re: Is there any way to calculate the area by geographic coordinates?

2011-09-21 Thread BruceB
There's a utility library for that: http://code.google.com/apis/maps/documentation/javascript/geometry.html#Distance You would need to load the geometry library: http://code.google.com/apis/maps/documentation/javascript/basics.html#Libraries "To compute the area of polygonal area, call compute

Re: [Google Maps API v3] Having trouble with fitBounds()?

2011-09-20 Thread BruceB
I meant to add take caution with this sort of approach, because you could quickly hit the geocoder's client-side QPS limits. As I mentioned above, the for loop calls the addMarker() function, which calls the geocoder and immediately returns control back to the for loop -- which calls addMark

Re: [Google Maps API v3] Having trouble with fitBounds()?

2011-09-20 Thread BruceB
Exactly. It's the way that the browser processes the Javascript. Your for loop calls the function addMarker(), which then makes a call to the geocoder and immediately returns control back to the for loop. Later on when the geocoder responses are received, the anonymous callback function is ca