[Google Maps API v3] Polygon smooth show/hide effects

2012-01-29 Thread Dan
Does anyone know of some sample code or has played with showing / hiding polygons in a visually smooth approach? I imagine that between javascript setTimeout() and the fillColor and fillOpacity properties of a google.maps.Polygon some nice "glow in / glow out" effect code exists out there. Tha

[Google Maps API v3] Re: Restricting the maps to certain domains by checking the referrer

2012-01-29 Thread Pil
Hi Chris, the easiest way is to use a Firefox customization // Don't give away the Referrer // 0=don't send any, 1=send only on clicks, 2=send on image requests as well user_pref("network.http.sendRefererHeader", 0); Now I'd recommend using RefControl to send the root domain of the visited sit

[Google Maps API v3] Getting neighbourhood boundaries from Google Maps API

2012-01-29 Thread deastr
While using Google Maps' "What's here" menu I realised it draws neighbourhood borders, as shown here with the dotted line: Is it possible to get this data in Google Maps API and make my map draw neighbourhood borders of a given point? -- You received this

[Google Maps API v3] XML approach - One Master XML file vs Multiple Query Based XML files

2012-01-29 Thread hungerstar
I have a realty site that I am implementing Google Maps on. I would like some input on the two approaches that I am looking at below. There is a search form to search properties based on the users criteria and then display the matching results, simple enough. Each property would have View Map li

[Google Maps API v3] Google Map V3 + HTML5 Canvas Image Rotation

2012-01-29 Thread seb
Hi, I have a project where I would like to be able to upload an image at the top of Google Map. I would like to be able to rotate, resize and drag the image at the top of Google Map, then save it as an overlay when I am happy with the position and size. I am thinking using HTML5 Canvas at the top

[Google Maps API v3] Re: Polyline intersection

2012-01-29 Thread Marcelo
How big are the lines? If they are small then they can be treated as 2D lines on a plane and the problem is solved in a cartesian coordinate system, which is high school math: http://paulbourke.net/geometry/lineline2d/ If they are big then you might want to treat them as 3D, or great circles on a

[Google Maps API v3] static map support 45 Degree view ?

2012-01-29 Thread China Join
if can do it how do ? thanks very much! -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/0SeNTYgqlIYJ. To post to this group, send

[Google Maps API v3] Re: Ordering kmlLayer and overlay

2012-01-29 Thread Enoch Lau (Google Employee)
This should have been fixed. Rectangles and other polys should now always appear on top of KML layers. Are you not seeing this behavior? If so, please post a link to a demo. Enoch -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" grou

Re: [Google Maps API v3] Re: places_autocomplete.html example => example "google is not defined"

2012-01-29 Thread Robert Poor
On Sun, Jan 29, 2012 at 17:17, Chris Broadfoot wrote: > To add to what Larry said, the "//" is known as a "protocol relative URL". > This won't work on file://, unfortunately. That was it. (After Larry's comment, I thought it was the lack of the API_KEY, but it was actually the lack of the http:

Re: [Google Maps API v3] How to get the GPS points of a polyline .

2012-01-29 Thread Chris Broadfoot
I'm confused - are you using the JavaScript Maps API to display a map, or Android MapView? If the former, look at the "encoding" library. If the latter, then use the Directions Web Service: http://code.google.com/apis/maps/documentation/directions/ Chris -- G+: http://chrisbroadfoot.id.au/+ Twi

[Google Maps API v3] Re: Static Map API Licensing and usage limits

2012-01-29 Thread fryday13
I'll send you a PM. Maybe we can post the final answer here once we figure it out. -- 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

Re: [Google Maps API v3] Re: places_autocomplete.html example => example "google is not defined"

2012-01-29 Thread Chris Broadfoot
To add to what Larry said, the "//" is known as a "protocol relative URL". This won't work on file://, unfortunately. -- G+: http://chrisbroadfoot.id.au/+ Twitter: http://twitter.com/broady On Mon, Jan 30, 2012 at 11:31 AM, geocode...@gmail.com wrote: > On Jan 29, 2:20 pm, fearless_fool wrot

[Google Maps API v3] Re: Static Map API Licensing and usage limits

2012-01-29 Thread Luke (Google Employee)
Hi, The information you got from the Sales staff was incorrect. Markers on static maps definitely don't count against your geocoding quota and that we're chasing up internally to make sure the sales team have the correct information. - Luke -- You received this message because you are subsc

[Google Maps API v3] Re: places_autocomplete.html example => example "google is not defined"

2012-01-29 Thread geocode...@gmail.com
On Jan 29, 2:20 pm, fearless_fool wrote: > I want to build upon the example code found in: > > http://code.google.com/apis/maps/documentation/javascript/examples/pl... > > It works fine from the above URL, but when I copy the source code and past > it into a local file, opening the local file resu

Re: [Google Maps API v3] Restricting the maps to certain domains by checking the referrer

2012-01-29 Thread Chris Broadfoot
On Sat, Jan 28, 2012 at 7:06 PM, Pil wrote: > My browser is not allowed to give away the referrer. This is for (my > own) security resons and to protect (my own) privacy. > Hi Pil, Could you tell me how you made this change to your browser? Cheers Chris -- G+: http://chrisbroadfoot.id.au/+ Tw

[Google Maps API v3] Re: InfoBox content not accepting HTMLDivElement

2012-01-29 Thread Gary Little
It worked fine for me after I fixed three typos: change "," to ";" at end of lines 1, 2, and also the 2nd to last line. You've also got an extraneous comma at the end of the height: "auto" line which will causes problems with some browsers. Gary On Jan 27, 2:19 pm, velomash wrote: > Hey guys, >

[Google Maps API v3] places_autocomplete.html example => example "google is not defined"

2012-01-29 Thread fearless_fool
I want to build upon the example code found in: http://code.google.com/apis/maps/documentation/javascript/examples/places-autocomplete.html It works fine from the above URL, but when I copy the source code and past it into a local file, opening the local file results in a javascript consol

[Google Maps API v3] How to get the GPS points of a polyline .

2012-01-29 Thread GerarCR
Hello I'm doing an Android application, and i need it to ask for a route to Google Maps (indicating start and destiny points), and obtain the points (lat,long) of the route (corners, etc). I'd figured out how to do it using Javascript, but the problem is that Google returns a polyline with thos

Re: [Google Maps API v3] Re: Using google distance matrix on server side

2012-01-29 Thread Andrew Leach
On 29 January 2012 15:50, shilpa wrote: > Okay. But im using ASP.net for server side scripting and the Google > maps Api is in javascript. > So how do i call the getDistanceMatrix() method from my asp.net page? First step is to read the documentation. The Javascript method is available as a web s

Re: [Google Maps API v3] Corrupt map displayed

2012-01-29 Thread Andrew Leach
On 29 January 2012 18:26, thistle wrote: > > How you can see, there are some problems with the shadows: the map behind > them is not drawn. There is also a strange 'pixelation' along the dialog > with the geographical information. I reckon your images have a background colour specified in CSS. Th

[Google Maps API v3] Re: Using google distance matrix on server side

2012-01-29 Thread shilpa
Okay. But im using ASP.net for server side scripting and the Google maps Api is in javascript. So how do i call the getDistanceMatrix() method from my asp.net page? I mean that i want my server to make the getDistanceMatrix() request and the response should be returned to my server only. Thanks.

[Google Maps API v3] How to make Google Maps V3 Directions Work with User Location Dectection - GeoCoder

2012-01-29 Thread Sebastian
I'm having a conflict, between Directions & user GeoCode Detection. If I do this: var MapCenter = new google.maps.LatLng(-33.8665433, 151.1956316); function initialize(lat,lng) { geocoder = new google.maps.Geocoder(); // var MapCenter = new google.maps.LatLng(lat,lng); geocodeThis(MapCenter);

[Google Maps API v3] Re: Wrong location using Gmap3

2012-01-29 Thread Blagomir Ivanov
Hi Rossko, Thanks for your help. I tracked the coordinates as you described and they are all equal from the beginning to the moment I send them to google map via gmap3. Any other ideas ? :( -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript

[Google Maps API v3] Corrupt map displayed

2012-01-29 Thread thistle
Hello everyone, I have a problem with Google Map JS that I am unable to explain. I have two different files in which I load the same JS libraries and perform the same actions in the same order. However, one of them displays a corrupted google map. There is an attached screenshot. How you can s

[Google Maps API v3] Re: Polyline intersection

2012-01-29 Thread Joseph Elfelt
I'm curious about this also. Perhaps it would work for your purpose to use the coords (world coords?) to calculate the intersection of 2 lines. Is there a better way? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to

[Google Maps API v3] Re: Ordering kmlLayer and overlay

2012-01-29 Thread Matthieu Lux
Up... Anything for me ? Matthieu -- 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/-/soCukGU4OgcJ. To post to this group, send email

[Google Maps API v3] Re: Wrong location using Gmap3

2012-01-29 Thread Rossko
> Yes looks like this is the problem, but I don't know how to sort this > problem?! You'll need to follow the trail of your data from the original webpage, through your server-side processing, to storage, back through server-side processing, back to your webpage. Looking for swappoing of lat-long

[Google Maps API v3] Re: Wrong location using Gmap3

2012-01-29 Thread Atanas Chikov
Yes looks like this is the problem, but I don't know how to sort this problem?! -- 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/-/6

[Google Maps API v3] Re: Hide the background of a map behind a groundOverlay

2012-01-29 Thread jean-baptiste demonte
Hi, Thanks for your answer ans your link, it contains great ideas, in this, they add an overlay in absolute position to hide the background, i will use this i think Thanks a lot, JB -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3"

[Google Maps API v3] Re: Wrong location using Gmap3

2012-01-29 Thread Pil
On Jan 28, 10:07 pm, Atanas Chikov wrote: > the map is here www.bghelpmap.com I get unresponsive script errors at this page with Firefox (not only once). Do you know what an unresponsive script error is? Well, you may read on if you are interested http://www.nczonline.net/blog/2009/01/05/wh

[Google Maps API v3] Re: Hide the background of a map behind a groundOverlay

2012-01-29 Thread jean-baptiste demonte
Hi, Thanks for your answer, The ground overlay i have is simplified, so, sometime, the map behind exceeds the overlay JB -- 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://group