[Google Maps API v3] InfoWindow, Chrome Safari, Flash problem
Hi, My google maps API 3 page is experiencing some problems in Chrome and Safari. http://takemethereboris.co.uk/ I am trying to play a youtube video in an InfoWindow. This works fine in FF and IE, but in Chrome and Safari the results are patchy. In Chrome some of the video player is obscured. In Safari it is positioned in the wrong plage. Also when the map is moved, the InfoWindow moves but the youtube video does not. I have tried position absolute, relative etc on video and container elements. I have played with the flash parameters like scale and wmode. The html for the InfoWindow looks like this: this.getContentWindowHTML = function() { return 'div class=boris-video' + 'h1'+ this.name +'/h1' +'object width='+LocationManager.VIDEO_WIDTH+' height='+LocationManager.VIDEO_HEIGHT+'' +'param name=movie value=http://www.youtube.com/v/'+this.videoId +'autoplay=1/param' +'param name=allowFullScreen value=true/param' +'param name=allowscriptaccess value=always/param' +'embed src=http://www.youtube.com/v/'+this.videoId+'autoplay=1 type=application/x-shockwave-flash allowscriptaccess=always allowfullscreen=true width='+LocationManager.VIDEO_WIDTH+' height='+LocationManager.VIDEO_HEIGHT+'/embed' +'/object' +'div class=more-info' + 'a href='+this.wikilink+' target=_blankimg src=images/ wikipedia.gif alt=find out more//a' +'/div' +'/div'; } any help much appreciated. Henry -- 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...@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] Always display titel/tool tip of a marker
How can I make the title/tool tip of a marker(s) display permanent. Instead of having the markers titel only to be displayed on mouse over is there any way to change that property to always display it? If this is not possible must I create a custom overlay instead? Stefan -- 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...@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] API v3 problem with youtube videos in Chrome and Firebug
Hi Please see www.takemethereboris.co.uk Keep your browser window small. Click on one of the London Landmarks. A popup appears and plays a youtube video. If the map has had to reposition then you may or may not see the video in Chrome and Safari. Sometimes you just hear audio or see half the video. If screen is maximised and no auto-repositioning of the map is needed when you click on the marker then all is ok. All works fine in IE. There have been similar posts on here about problems with API v3 but I don't see any solution. (It used to work with v2, but that's deprecated so we don't want to use that) i would appreciate your help thanks clarkee -- 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...@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] Clicking polygons trigger map click event
I've noticed that polygons click events trigger the map click event, also. As there doesn't seem to be any way of determining, on map's click event, if the target was (or not) an overlay... how can I fix this? How can I trigger a polygon's click event, WITHOUT triggering the map's click event, too (which has its own functionality, in my case)? -- 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...@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: Clicking polygons trigger map click event
It's not the cleanest solution, but if you checked if the LatLng of the click event was within the boundaries of the polygon it would have the same effect. If it's within the boundary, it's a polygon event, if it's not within the boundary it's a map event. Ugly, but it would work. KW -- 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...@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] key required in api v3
i want to know that do i need the key for google map api v3 also that we needed in v2??? help me. -- 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...@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 geocode link parameter
Hi all and sorry for my poor english . I'm using the google map API v3 and i need to integrate to my application a link designed by the google map official website. I need to parse a link of a Directions with waypoints. I found that is the geocode parameter but it's encoded.Is there any way to get values for waypoints used in directions (geocode parameter) i mean not encoded ?? Thx a lot, cordialy MoZo -- 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...@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] key required in api v3
You do not need an API key on the V3 API. On Thu, Jun 17, 2010 at 11:18, pankaj285 pankaj...@gmail.com wrote: i want to know that do i need the key for google map api v3 also that we needed in v2??? help me. -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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: Clicking polygons trigger map click event
Yeah, thanks, I'll try that. Indeed, should do the trick. But... isn't there any native way of doing this? 'Cause if not, this is a real bug. On Jun 17, 10:22 am, ClubPit club...@googlemail.com wrote: It's not the cleanest solution, but if you checked if the LatLng of the click event was within the boundaries of the polygon it would have the same effect. If it's within the boundary, it's a polygon event, if it's not within the boundary it's a map event. Ugly, but it would work. KW -- 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...@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] key required in api v3
Currently we have premier version of v2 api which was recently bought. so do we need to purchase the new key for v3 api or we can use that older one for the registered domain On Thu, Jun 17, 2010 at 3:17 PM, Miguel Angel Vilela mig...@google.comwrote: You do not need an API key on the V3 API. On Thu, Jun 17, 2010 at 11:18, pankaj285 pankaj...@gmail.com wrote: i want to know that do i need the key for google map api v3 also that we needed in v2??? help me. -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- pankaj kumar jha 9591917652 -- 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...@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] Reverse geocode in description tag and extracting additional data from an KML file
Can I reverse geocode in the description tag? Placemark name[Name]/name description ![CDATA[ Here I'd like to have the address of the cordinats in Point ]] /description Point coordinates 13.7, 56.4, 0 /coordinates /Point /Placemark /Document I'd like to use the latlng in coordinates to display the address of that perticular position, how can I do that? Also I wonder if there exist any way to extract more info from a KML file from my own defined tags. E.g: Placemark name[Name]/name description ![CDATA[ description ]] /description myTag importantData /myTag Point coordinates 13.7, 56.4, 0 /coordinates /Point /Placemark /Document I'd like to extract the value from the myTag e.g. with google.maps.event.addListener(kmlLayer, 'click', function(kmlEvent) { alert(kmlEvent.featureData.myTag); }); in a similar manner that I can reach the description tag with kmlEvent.featureData.description. -- 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...@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] key required in api v3
If you purchased Maps API Premier, what you need to use is your client id. When you use a client id, free API keys are ignored, so you can remove them from your code. There is no such a thing as a Premier key. Domains need to be enabled on your client id before you can use it on them, so if you want to use gme-this on www.this.com you need to (first) contact Enterprise Support and ask to enable gme-this for www.this.com (make sure to explicitly ask for HTTPS if you need it). Once they're done with that, you can use your client id using the instructions here: Loading the Google Maps JavaScript API http://code.google.com/apis/maps/documentation/premier/guide.html#MapsJS Cheers, Miguel On Thu, Jun 17, 2010 at 12:13, pankaj kumar jha pankaj...@gmail.com wrote: Currently we have premier version of v2 api which was recently bought. so do we need to purchase the new key for v3 api or we can use that older one for the registered domain On Thu, Jun 17, 2010 at 3:17 PM, Miguel Angel Vilela mig...@google.comwrote: You do not need an API key on the V3 API. On Thu, Jun 17, 2010 at 11:18, pankaj285 pankaj...@gmail.com wrote: i want to know that do i need the key for google map api v3 also that we needed in v2??? help me. -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- pankaj kumar jha 9591917652 -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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] key required in api v3
The key of v2 can work on v2? or we have to purchase the new one? On Thu, Jun 17, 2010 at 3:50 PM, Miguel Angel Vilela mig...@google.comwrote: If you purchased Maps API Premier, what you need to use is your client id. When you use a client id, free API keys are ignored, so you can remove them from your code. There is no such a thing as a Premier key. Domains need to be enabled on your client id before you can use it on them, so if you want to use gme-this on www.this.com you need to (first) contact Enterprise Support and ask to enable gme-this for www.this.com (make sure to explicitly ask for HTTPS if you need it). Once they're done with that, you can use your client id using the instructions here: Loading the Google Maps JavaScript API http://code.google.com/apis/maps/documentation/premier/guide.html#MapsJS Cheers, Miguel On Thu, Jun 17, 2010 at 12:13, pankaj kumar jha pankaj...@gmail.comwrote: Currently we have premier version of v2 api which was recently bought. so do we need to purchase the new key for v3 api or we can use that older one for the registered domain On Thu, Jun 17, 2010 at 3:17 PM, Miguel Angel Vilela mig...@google.com wrote: You do not need an API key on the V3 API. On Thu, Jun 17, 2010 at 11:18, pankaj285 pankaj...@gmail.com wrote: i want to know that do i need the key for google map api v3 also that we needed in v2??? help me. -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- pankaj kumar jha 9591917652 -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- pankaj kumar jha 9591917652 -- 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...@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] Fusion Tables Layer
Hi all, i have been having an issues with the fusion tables layer object. If i use the table used in the example, the info window is populated with the necessary headers, but when i use my table i get the error Uncaught TypeError: Cannot read property 'value' of undefined the code that brings this error is var content = 'b' + mouseEvent.row['name'].value + '/b'; any pointers will be highly 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...@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: key required in api v3
i want to know that do i need the key for google map api v3 also that we needed in v2??? Start here http://code.google.com/apis/maps/documentation/javascript/basics.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...@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: Clicking polygons trigger map click event
To whom it may concern: since there is no native Polygon.getBounds() method, you may use google.maps.Polygon.prototype.getBounds = function(){ var bounds = new google.maps.LatLngBounds; this.getPath().forEach(function(latLng){ bounds.extend(latLng); }); return bounds; }; to support it (more or less) as the API V2 did... On Jun 17, 11:03 am, kilkul kil...@gmail.com wrote: Yeah, thanks, I'll try that. Indeed, should do the trick. But... isn't there any native way of doing this? 'Cause if not, this is a real bug. On Jun 17, 10:22 am, ClubPit club...@googlemail.com wrote: It's not the cleanest solution, but if you checked if the LatLng of the click event was within the boundaries of the polygon it would have the same effect. If it's within the boundary, it's a polygon event, if it's not within the boundary it's a map event. Ugly, but it would work. KW -- 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...@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] key required in api v3
If you have a Premier license, then you don't need to purchase anything to start using V3. I'm not sure what exactly you mean with key. Does your key look similar to this? ABQI...X-XX...Qxsbg If it does, then: - that is *not* Premier, you are using the *free* API - that will *not* work on V3 ( will just be ignored) Make sure you find your Maps API Premier client id (which starts with gme-) and follow the Premier documentation at http://code.google.com/apis/maps/documentation/premier/guide.html Otherwise, you will not be using your Premier license. Cheers, Miguel On Thu, Jun 17, 2010 at 12:27, pankaj kumar jha pankaj...@gmail.com wrote: The key of v2 can work on v2? or we have to purchase the new one? On Thu, Jun 17, 2010 at 3:50 PM, Miguel Angel Vilela mig...@google.comwrote: If you purchased Maps API Premier, what you need to use is your client id. When you use a client id, free API keys are ignored, so you can remove them from your code. There is no such a thing as a Premier key. Domains need to be enabled on your client id before you can use it on them, so if you want to use gme-this on www.this.com you need to (first) contact Enterprise Support and ask to enable gme-this for www.this.com(make sure to explicitly ask for HTTPS if you need it). Once they're done with that, you can use your client id using the instructions here: Loading the Google Maps JavaScript API http://code.google.com/apis/maps/documentation/premier/guide.html#MapsJS Cheers, Miguel On Thu, Jun 17, 2010 at 12:13, pankaj kumar jha pankaj...@gmail.comwrote: Currently we have premier version of v2 api which was recently bought. so do we need to purchase the new key for v3 api or we can use that older one for the registered domain On Thu, Jun 17, 2010 at 3:17 PM, Miguel Angel Vilela mig...@google.com wrote: You do not need an API key on the V3 API. On Thu, Jun 17, 2010 at 11:18, pankaj285 pankaj...@gmail.com wrote: i want to know that do i need the key for google map api v3 also that we needed in v2??? help me. -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- pankaj kumar jha 9591917652 -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- pankaj kumar jha 9591917652 -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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: Clicking polygons trigger map click event
google.maps.Polygon.prototype.getBounds = function(){ var bounds = new google.maps.LatLngBounds; this.getPath().forEach(function(latLng){ bounds.extend(latLng); }); return bounds; }; Bounds is not the same as a polygon. Using that function, it is possible to click close to, but not inside, a polygon ... and yet be inside the bounds. -- 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...@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: Fusion Tables Layer
Uncaught TypeError: Cannot read property 'value' of undefined the code that brings this error is var content = 'b' + mouseEvent.row['name'].value + '/b'; any pointers will be highly appreciated.. Read the error message and debug your code. No-one else can do it for you, because your code is secret. http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e Where is mouseEvent defined? Is it in scope during the event handler? Does it have a 'row' property? Is that an array? Does that array in turn have a 'name' property? Has that been defined? etc 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...@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: Clicking polygons trigger map click event
I solved this problem by temporarily removing the map's 'click' event on polygon 'mousedown' and then re-creating it on polygon 'mouseup'. A little documentation can be found here: http://geojason.info/2010/04/map-and-polygon-click-events-google-maps-api/ On Thu, Jun 17, 2010 at 7:35 AM, Rossko ros...@culzean.clara.co.uk wrote: google.maps.Polygon.prototype.getBounds = function(){ var bounds = new google.maps.LatLngBounds; this.getPath().forEach(function(latLng){ bounds.extend(latLng); }); return bounds; }; Bounds is not the same as a polygon. Using that function, it is possible to click close to, but not inside, a polygon ... and yet be inside the bounds. -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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: Clicking polygons trigger map click event
i want to show my own logo( an image file .jpg) in place of markers. how i can do so? give some hint or any link. On Thu, Jun 17, 2010 at 5:05 PM, Rossko ros...@culzean.clara.co.uk wrote: google.maps.Polygon.prototype.getBounds = function(){ var bounds = new google.maps.LatLngBounds; this.getPath().forEach(function(latLng){ bounds.extend(latLng); }); return bounds; }; Bounds is not the same as a polygon. Using that function, it is possible to click close to, but not inside, a polygon ... and yet be inside the bounds. -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- pankaj kumar jha 9591917652 -- 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...@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: Marker.setIcon()
I know in v2 of the API once you create a Marker the Marker Size is set in stone unless you completely destroy it and recreate it. This is why the image is getting cropped to the previous Marker Image size. What you need to do is create copies of your original marker with different MarkerImages for the different image sizes you want at your various zoom levels. Make sure you define the new marker size that fits the new image size as well when you are setting the marker options. Now push these into an array, I like to keep a separate array for each marker type I use. Then add them to the MarkerManager and set the Min and Max zoom options to which markers you want to be visible at which zoom levels, thus accomplishing your original goal. On Wed, Jun 16, 2010 at 10:28 PM, dexter dcbanay...@yahoo.com wrote: Here's a repro of the behavior contrasting the effect of a) Merely replacing an existing Marker's icon with a new scaled MarkerImage b) Creating a new Marker and using the new scaled MarkerImage for a), the image got cropped. for b), the image got scaled correctly But using this work-around is a very resource-intensive activity, i.e., replacing every Marker with a new Marker that uses the scaled MarkerImage. code.maps.google team, I implore, please enlighten me, and in advance, thanks a lot!!! For those who want to see the behavior, copy/paste the script in notepad and name it anyName.htm. Open in IE or any browser. Click the button on the bottom. == Just a modified sample script, but highlighting the problem html head meta name=viewport content=initial-scale=1.0, user-scalable=no / meta http-equiv=content-type content=text/html; charset=UTF-8/ titleGoogle Maps JavaScript API v3 Example: Complex Icons/title script type=text/javascript src=http://maps.google.com/maps/api/js? sensor=false/script script type=text/javascript var _markers = []; var _map; function initialize() { var myOptions = { zoom: 10, center: new google.maps.LatLng(-33.9, 151.2), mapTypeId: google.maps.MapTypeId.ROADMAP } _map = new google.maps.Map(document.getElementById(map_canvas), myOptions); setMarkers(_map, beaches); } /** * Data for the markers consisting of a name, a LatLng and a zIndex for * the order in which these markers should display on top of each * other. */ var beaches = [ ['Bondi Beach', -33.890542, 151.274856, 4], ['Coogee Beach', -33.923036, 151.259052, 5], ['Cronulla Beach', -34.028249, 151.157507, 3], ['Manly Beach', -33.80010128657071, 151.28747820854187, 2], ['Maroubra Beach', -33.950198, 151.259302, 1] ]; function setMarkers(map, locations) { // Add markers to the map // Marker sizes are expressed as a Size of X,Y // where the origin of the image (0,0) is located // in the top left of the image. // Origins, anchor positions and coordinates of the marker // increase in the X direction to the right and in // the Y direction down. var image = new google.maps.MarkerImage(http://google-maps- icons.googlecode.com/files/home.png, // This marker is 32 pixels wide by 37 pixels tall. new google.maps.Size(32, 37), // The origin for this image is 0,0. new google.maps.Point(0,0), // The anchor for this image is the base of the flagpole at 0,32. new google.maps.Point(16, 37), new google.maps.Size(32, 37)); var shape = { coord: [1, 1, 1, 20, 18, 20, 18 , 1], type: 'poly' }; for (var i = 0; i locations.length; i++) { var beach = locations[i]; var myLatLng = new google.maps.LatLng(beach[1], beach[2]); var marker = new google.maps.Marker({ position: myLatLng, map: map, // shadow: shadow, icon: image, shape: shape, title: beach[0], zIndex: beach[3] }); _markers[i] = marker; } } function setIcons() { var myLatLng; var marker; for (var i = 0; i _markers.length; i++) { // we create a new MarkerImage that will only replace the existing Markers' icon: var newImage = new google.maps.MarkerImage(http://google-maps- icons.googlecode.com/files/home.png, // This marker is 32 pixels wide by 37 pixels tall. new google.maps.Size(16, 18), // The origin for this image is 0,0. new google.maps.Point(0,0), // The anchor for this image is the base of the flagpole at 0,32. new google.maps.Point(8, 18), new google.maps.Size(16, 18)); // replace the existing Markers' icon: _markers[i].setIcon(newImage); _markers[i].setTitle(Image got cropped); // we test the behavior by creating a new Marker using the new // MarkerImage, and see that the image got scaled correctly for // new Markers that use the newly-created scaled MarkerImage: // create new markers using the new MarkerImage: myLatLng =
Re: [Google Maps API v3] Re: Error on line 8 while panning around in street view...
I'll read up on those, so is there any solution? On Wed, Jun 16, 2010 at 6:24 PM, William william.g...@gmail.com wrote: On Jun 16, 11:11 pm, Nathan Raley nlrale...@gmail.com wrote: What I find odd is that this works fine in Chrome and Firefox, but seems specific for IE. that's because the only graphics technology available in IE is VML, and this is a VML specific bug. In the other browsers SVG and other technologies are used. For details see Marc Ridey's talk at Google IO: see pdf page 33: http://dl.google.com/googleio/2010/geo-maps-api-v3-api.pdf session video: http://code.google.com/events/io/2010/sessions/maps-api-v3-api.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...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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: Marker.setIcon()
Yea, looking through your code that appears to be what is happening, and I doubt the functionality for resizing markers has changed between the api v2 and v3, although I may be mistaken. The simplest solution is to create additional markers with the same position of the original and just setting different image options for the copies of the markers. Add these markers to the marker manager with the zoom levels you want them to be displayed at and you should be good to go. On Thu, Jun 17, 2010 at 8:11 AM, Nathan Raley nlrale...@gmail.com wrote: I know in v2 of the API once you create a Marker the Marker Size is set in stone unless you completely destroy it and recreate it. This is why the image is getting cropped to the previous Marker Image size. What you need to do is create copies of your original marker with different MarkerImages for the different image sizes you want at your various zoom levels. Make sure you define the new marker size that fits the new image size as well when you are setting the marker options. Now push these into an array, I like to keep a separate array for each marker type I use. Then add them to the MarkerManager and set the Min and Max zoom options to which markers you want to be visible at which zoom levels, thus accomplishing your original goal. On Wed, Jun 16, 2010 at 10:28 PM, dexter dcbanay...@yahoo.com wrote: Here's a repro of the behavior contrasting the effect of a) Merely replacing an existing Marker's icon with a new scaled MarkerImage b) Creating a new Marker and using the new scaled MarkerImage for a), the image got cropped. for b), the image got scaled correctly But using this work-around is a very resource-intensive activity, i.e., replacing every Marker with a new Marker that uses the scaled MarkerImage. code.maps.google team, I implore, please enlighten me, and in advance, thanks a lot!!! For those who want to see the behavior, copy/paste the script in notepad and name it anyName.htm. Open in IE or any browser. Click the button on the bottom. == Just a modified sample script, but highlighting the problem html head meta name=viewport content=initial-scale=1.0, user-scalable=no / meta http-equiv=content-type content=text/html; charset=UTF-8/ titleGoogle Maps JavaScript API v3 Example: Complex Icons/title script type=text/javascript src=http://maps.google.com/maps/api/js? sensor=false http://maps.google.com/maps/api/js?sensor=false/script script type=text/javascript var _markers = []; var _map; function initialize() { var myOptions = { zoom: 10, center: new google.maps.LatLng(-33.9, 151.2), mapTypeId: google.maps.MapTypeId.ROADMAP } _map = new google.maps.Map(document.getElementById(map_canvas), myOptions); setMarkers(_map, beaches); } /** * Data for the markers consisting of a name, a LatLng and a zIndex for * the order in which these markers should display on top of each * other. */ var beaches = [ ['Bondi Beach', -33.890542, 151.274856, 4], ['Coogee Beach', -33.923036, 151.259052, 5], ['Cronulla Beach', -34.028249, 151.157507, 3], ['Manly Beach', -33.80010128657071, 151.28747820854187, 2], ['Maroubra Beach', -33.950198, 151.259302, 1] ]; function setMarkers(map, locations) { // Add markers to the map // Marker sizes are expressed as a Size of X,Y // where the origin of the image (0,0) is located // in the top left of the image. // Origins, anchor positions and coordinates of the marker // increase in the X direction to the right and in // the Y direction down. var image = new google.maps.MarkerImage(http://google-maps- icons.googlecode.com/files/home.png, // This marker is 32 pixels wide by 37 pixels tall. new google.maps.Size(32, 37), // The origin for this image is 0,0. new google.maps.Point(0,0), // The anchor for this image is the base of the flagpole at 0,32. new google.maps.Point(16, 37), new google.maps.Size(32, 37)); var shape = { coord: [1, 1, 1, 20, 18, 20, 18 , 1], type: 'poly' }; for (var i = 0; i locations.length; i++) { var beach = locations[i]; var myLatLng = new google.maps.LatLng(beach[1], beach[2]); var marker = new google.maps.Marker({ position: myLatLng, map: map, // shadow: shadow, icon: image, shape: shape, title: beach[0], zIndex: beach[3] }); _markers[i] = marker; } } function setIcons() { var myLatLng; var marker; for (var i = 0; i _markers.length; i++) { // we create a new MarkerImage that will only replace the existing Markers' icon: var newImage = new google.maps.MarkerImage(http://google-maps- icons.googlecode.com/files/home.png, // This marker is 32 pixels wide by 37 pixels tall. new google.maps.Size(16, 18), // The origin for this image is 0,0. new
[Google Maps API v3] Re: Marker.setIcon()
Or make all your images the same size, but some can have transparent 'margins' to look smaller. You'd need to take account of the icon anchors to keep it looking right. -- 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...@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: Fusion Tables Layer
Thanks for your insight, attached is the code html head titleFusion Tables in Maps API v3/title link rel=stylesheet href=common.css link rel=stylesheet href=dialog.css script type=text/javascript src= http://maps.google.com/maps/api/js?sensor=false;/script style body { font-family: sans-serif; font-size: small; } #map { width: 512px; height: 425px; border: 1px solid black; margin-bottom: 10px; } /style script var map, sliderTimer, layer, slider; var iw = null; function initializeMap() { map = new google.maps.Map(document.getElementById('map'), { center: new google.maps.LatLng(-18.145852,-41.835937), zoom: 5, mapTypeId: 'roadmap' }); layer = new google.maps.FusionTablesLayer(136705, { suppressInfoWindows: true }); layer.setMap(map); google.maps.event.addListener(layer, 'click', displayBeach); } // When a user clicks on a feature on the map, intercept the // click event and display the data in a modal dialog box. function displayBeach(mouseEvent) { if (iw != null) { iw.close(); } var content = 'b' + mouseEvent.row['NAME'].value + '/b'; iw = new google.maps.InfoWindow({ content: content, position: mouseEvent.position }); iw.open(map); } /script body onLoad=initializeMap() div id=map/div /body /html the above code works with no errors and the info window displays the row.['NAME'] value. But when i replacethe table with one of my own tables,and the info windows content with one of the headers, the error appears. any help is higly appreciated On 17 June 2010 14:41, Rossko ros...@culzean.clara.co.uk wrote: Uncaught TypeError: Cannot read property 'value' of undefined the code that brings this error is var content = 'b' + mouseEvent.row['name'].value + '/b'; any pointers will be highly appreciated.. Read the error message and debug your code. No-one else can do it for you, because your code is secret. http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e Where is mouseEvent defined? Is it in scope during the event handler? Does it have a 'row' property? Is that an array? Does that array in turn have a 'name' property? Has that been defined? etc 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...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- Regards, Jude Mwenda Skype id: jmwenda Twitter: www.twitter.com/judemwenda Web: www.africangeogeek.com Was ist mein Leben, wenn ich nicht mehr nützlich für andere. Johann Wolfgang von Goethe -- 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...@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: Fusion Tables Layer
the above code works with no errors and the info window displays the row.['NAME'] value. But when i replacethe table with one of my own tables,and the info windows content with one of the headers, the error appears. any help is higly appreciated Okay, so we still haven't seen the secret code that fails. I don't think there is much more help to give. -- 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...@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] MarkerClusterer - too many placemarks?
Hello, I found out that the clustering doesn't work anymore on my HTC Hero Android smartphone when the number of placemarks gets too high. When I check the same map with the same amount of placemarks on my workstation it shows clustering. The limit is somewhere between 1000 and 1500 placemarks. 1000 are still clustered on my smartphone, 1500 not. I wonder what the reason for this might be. Could it be that the smartphone has not enough memory? Or could it be that the time it takes to submit the data from server to smartphone is too long (= connection too slow)? Maybe markerClusterer has a kind of timeout? It would be interesting to hear if the clustering works on other mobile devices. Here is the link to the sample map (1500 placemarks): http://www.speibl.com/geocms/bounds/index1.php Regards, Rolf -- 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...@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 Earth Extension not working
Here is another website I am working on that is v3 and the Google Earth is still not working. http://156.42.96.39/alert/Google/fullmap.html. On Jun 15, 6:36 pm, Chad Killingsworth chadkillingswo...@missouristate.edu wrote: You're using the v2 API. The group for that version ishttp://groups.google.com/group/Google-Maps-API/ Chad Killingsworth On Jun 15, 4:18 pm, Chandra Miller chandra_dr...@yahoo.com wrote: Here is the websitehttp://156.42.96.39/alert/Google/FCDMCmap.html On Jun 15, 1:24 pm, Chandra Miller chandra_dr...@yahoo.com wrote: When I create a map and get a API code for my website everything works great until I try to add the Earth extenstion. When I add earth to the options (along with Map, Satellite and Terrain) a screen shows up that says google maps api key used on this web site was registered for a different website. I have already generated a key for this website and all the other extensions work so I dont understand why google earth will not show up. Any suggestion would be greatly appreciated.- Hide quoted text - - Show quoted text - -- 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...@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] Hide markers when Street view is on
Hi I would like to hide the markers when the map switches to the Street View mode but I don't know the best way to proceed. Here is the map : http://www.parisdigest.com/transfert/map_paris/map_of_paris_monuments.htm As you can see, markers always are in the field of view and it's quite uncomfortable... Thanks a lot for your help. -- 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...@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: Fusion Tables Layer
ha ha ha, There is NO secret code, all i did was to point to my fusion table, by putting in my ft table identifier and column of the table i want in the info window. The attached code has the changes.. html head titleFusion Tables in Maps API v3/title link rel=stylesheet href=common.css link rel=stylesheet href=dialog.css script type=text/javascript src= http://maps.google.com/maps/api/js?sensor=false;/ script style body { font-family: sans-serif; font-size: small; } #map { width: 512px; height: 425px; border: 1px solid black; margin-bottom: 10px; } /style script var map, sliderTimer, layer, slider; var iw = null; function initializeMap() { map = new google.maps.Map(document.getElementById('map'), { center: new google.maps.LatLng(-18.145852,-41.835937), zoom: 5, mapTypeId: 'roadmap' }); layer = new google.maps.FusionTablesLayer(190609, { suppressInfoWindows: true }); layer.setMap(map); google.maps.event.addListener(layer, 'click', displayBeach); } // When a user clicks on a feature on the map, intercept the // click event and display the data in a modal dialog box. function displayBeach(mouseEvent) { if (iw != null) { iw.close(); } var content = 'b' + mouseEvent.row['UtilityName'].value + '/b'; iw = new google.maps.InfoWindow({ content: content, position: mouseEvent.position }); iw.open(map); } /script body onLoad=initializeMap() div id=map/div /body /html On 17 June 2010 16:29, Rossko ros...@culzean.clara.co.uk wrote: the above code works with no errors and the info window displays the row.['NAME'] value. But when i replacethe table with one of my own tables,and the info windows content with one of the headers, the error appears. any help is higly appreciated Okay, so we still haven't seen the secret code that fails. I don't think there is much more help to give. -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- Regards, Jude Mwenda Skype id: jmwenda Twitter: www.twitter.com/judemwenda Web: www.africangeogeek.com Was ist mein Leben, wenn ich nicht mehr nützlich für andere. Johann Wolfgang von Goethe -- 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...@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: Marker.setIcon()
Hi All, Many thanks for all your replies. Coming home from work, I got on a whim that maybe the map needs to refresh to be able to show the new MarkerImage correctly. Using the same script in my previous post, after I clicked the test button, I panned the map so that it won't show the images. Then I panned it back and PRESTO!!! the MarkerImages showed correctly. Still, I consider this as something on the v3 API that needs working on. Thanks, Dexter On Jun 17, 9:25 pm, Rossko ros...@culzean.clara.co.uk wrote: Or make all your images the same size, but some can have transparent 'margins' to look smaller. You'd need to take account of the icon anchors to keep it looking right. -- 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...@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: Verify an address?
There are several algorithms that can help you. Check : http://en.wikipedia.org/wiki/Point_in_polygon Itay Cartolog - Map Experts http://www.cartolog.com On Jun 15, 9:25 pm, beatpanda beatpa...@gmail.com wrote: All I want to do is check whether or not a geocoded point on the map is within the shaded area of a polygon created by a KML file. One similar use case is having people enter an address to see what congressional district they're in. I know this can be done with maps v2 but I haven't found a way to do it with v3. Can anyone help? My map is here: sandbox.emrl.com/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...@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: Marker.setIcon()
Still, I consider this as something on the v3 API that needs working on. Then you shold lodge an enhancement request -- 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...@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: Unknown cities - Solved
Many thanks to both of you - that sorted it. Regards Ashley On Jun 16, 7:31 pm, pi5701 pistol...@chello.at wrote: guess this should do the trick:http://code.google.com/intl/de-DE/apis/maps/documentation/javascript/... On 16 Jun., 15:38, Ashley ash...@host365.com wrote: Nice - thank you!. Any idea how we get it always defaulting to uk without user adding UK afterwards? On Jun 16, 10:43 am, pi5701 pistol...@chello.at wrote: try 'cambridge uk' ;) -- 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...@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 maps suggest
Hi, Geocoding in v2 and v3 returns several suggestions. http://code.google.com/apis/maps/documentation/javascript/services.html#Geocoding Itay Cartolog - Map Experts - Building map applications http://www.cartolog.com On Jun 16, 8:37 pm, Bossco juanbos...@gmail.com wrote: Hi, I'm trying to use Google map suggest, is there any API for this feature? I thought that using a 'GET' request to http://www.google.com/maps/ suggest?q=union+cp=6ll=37.0625,-95.677068 would work, well is working on my work station but not on my hosting, I got the error: Access is denied. I'm trying to implement an autocomplete feature in my website for addresses. Any idea? 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...@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: Clicking polygons trigger map click event
On 17 Jun., 14:30, Jason Sanford jasonsanf...@gmail.com wrote: I solved this problem by temporarily removing the map's 'click' event on polygon 'mousedown' and then re-creating it on polygon 'mouseup'. A little documentation can be found here:http://geojason.info/2010/04/ map-and-polygon-click-events-google-maps... nice solution. i have the same problem with kml layers. unfortunately there is no mouseup/ down event available for kml layers. made a feature request here: http://code.google.com/p/gmaps-api-issues/issues/detail?id=2499q=apitype%3AJavascript3colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Internal%20Starsstart=100 -- 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...@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: Marker.setIcon()
Yes. I just found that I can submit an issue. It is issue #2500. I hope it will be acknowledged by the team. Thank you all! On Jun 17, 11:10 pm, Rossko ros...@culzean.clara.co.uk wrote: Still, I consider this as something on the v3 API that needs working on. Then you shold lodge an enhancement request -- 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...@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] KML and custom icons being resized
My own small icons are being resized after they are defined in a kml file. There is an issue open which is very similar to my point: http://code.google.com/p/gmaps-api-issues/issues/detail?id=2444 I while I get them to load as part of my kml style rules, Gmaps is somehow resizing them. There exists a kml iconStyle scale which is not supported in maps v3 according to this table: http://code.google.com/apis/kml/documentation/kmlelementsinmaps.html a) Does anyone know of a possible work-round for this? Can I have my 13x14 and 14x22 icons showing at the correct size? b) Should I mention on that issue that it is seemingly the non-support of scale which is causing the problem? Heres some links: http://www.councilsites.co.uk/_kml.htm http://www.councilsites.co.uk/_carparks.kml -- 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...@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] Hide markers when Street view is on
If you create a custom pano then the markers on the regular map should not show up on the panorama unless you make a duplicate copy of the markers and set their map property to that of the pano. So simply create a custom panorama, there are references and examples of how to do this in Google's documentation, and then keep everything else the same and you should be good to go. On Thu, Jun 17, 2010 at 8:58 AM, Jean-Baptiste Matthews jeanbaptiste.matth...@gmail.com wrote: Hi I would like to hide the markers when the map switches to the Street View mode but I don't know the best way to proceed. Here is the map : http://www.parisdigest.com/transfert/map_paris/map_of_paris_monuments.htm As you can see, markers always are in the field of view and it's quite uncomfortable... Thanks a lot for your help. -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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] KML and custom icons being resized
I'm not 100% sure if I am on the right track with you on this as I'm not sure how your creating your different markers with the different images/image sizes. Are you using the same marker and just different images with different image sizes for the marker or are they different markers entirely? I say this b/c when you create a marker and set its image size property, the image size for that marker is set, this has been like this since api v2. There was another post earlier with a similar situation to yours. After setting his other marker's image to that of the smaller image it would crop and adjust it to the size of the original marker image size. He had to refresh the map and it showed the uncropped/unresized images he wanted. If your simply having problems defining a marker's image size the icon properties have more or less been replaced in version 3 of the api. You no longer user setImage but instead use setIcon and you can pass the setIcon either a string for an image location or a MarkerImage. If you create a MarkerImage you can define the image, size, and everything else you had defined in v2 of the api in the Icon properties. On Thu, Jun 17, 2010 at 11:02 AM, PaulG foofoo...@gmail.com wrote: My own small icons are being resized after they are defined in a kml file. There is an issue open which is very similar to my point: http://code.google.com/p/gmaps-api-issues/issues/detail?id=2444 I while I get them to load as part of my kml style rules, Gmaps is somehow resizing them. There exists a kml iconStyle scale which is not supported in maps v3 according to this table: http://code.google.com/apis/kml/documentation/kmlelementsinmaps.html a) Does anyone know of a possible work-round for this? Can I have my 13x14 and 14x22 icons showing at the correct size? b) Should I mention on that issue that it is seemingly the non-support of scale which is causing the problem? Heres some links: http://www.councilsites.co.uk/_kml.htm http://www.councilsites.co.uk/_carparks.kml -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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: KML and custom icons being resized
Are you using the same marker and just different images with different image sizes for the marker or are they different markers entirely? I say this b/c when you create a marker and set its image size property, the image size for that marker is set, this has been like this since api v2. Thanks for replying, I am defining the icon in the kml file. I find this a very clean way of packaging and managing several layers of data along with their associated icons and descriptive data - and is the avenue I would prefer to go down. I am sorry but I am not following your other comments because - In my head - I am setting some style rules for my icons which look for all the world like css styles, but in fact are just packaged instructions which are zipped off to Google to make sense of, cache for a while and to send back along with the tiles. My understanding it that those icons are no longer available for me to intercept or fiddle around with in JS in the way I would do in v2, and I understand that is one of the prices to pay for all the other simplicity and goodness that Gmaps V3 + kml can bring. Is my perception wrong? -- 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...@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: KML and custom icons being resized
Thanks for your courtesy in explaining all of that to me. I do admit I am struggling to grapple with some kind of ball I have dropped between V2 and V3, likely much to do with terminology as anything else. I'll read again with your comments in mind. 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...@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: KML and custom icons being resized
Yea, I was in the same boat last week and early into this week. I migrated a huge project of mine for v2 to v3 of the api and it was giving me some headaches until I started really diving into it and getting more used to it. Just do some reading on Markers and MarkerImages and you'll catch up on most of the new stuff that you may have missed with regards to manipulating the images and sizes of the markers and just think of it in terms that MarkerImage is just a beefed up version of Icons and is used now in place of them. On Thu, Jun 17, 2010 at 12:22 PM, PaulG foofoo...@gmail.com wrote: Thanks for your courtesy in explaining all of that to me. I do admit I am struggling to grapple with some kind of ball I have dropped between V2 and V3, likely much to do with terminology as anything else. I'll read again with your comments in mind. 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...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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 Georss
Many thanks. It worked perfectly. Gracias. -- 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...@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] Adding custom control to the Map
Having a bit of an issue adding a custom control to the Map. Getting an error on line 34: undefined is null or not an object. Code to initialize the map and create the button is located here: http://www.suntransformer.com/peter/GoogleAPI3/test/main.js I was following the online documentation and really didn't change much of anything. Any ideas? -- 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...@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] ToS regarding research purposes?
I am involved in a research project which is using Google Maps as the source of calculating coordinates along a route. I intend to make a query with start and destination GPS coordinates, extracting the intermediate coordinates along the legs of the route, and the distance and durations of each leg. The coordinates I can access by using http://maps.google.com/maps?parameters, but the accurate distances and time durations aren't available here, to my knowledge. The display text for distances is shown without time values, and this display text is rounded off from the actual values. I have read as much as I think is readily available regarding terms of service for the Maps API, which I know I can successfully query to retrieve the distance and duration values, but with a limit on the number of queries made, and with the intent to display on a web page. My question- Is the Javascript API encompassed by the Maps API regarding terms of service? I could have sworn I read somewhere that the Javascript API did not have a query limit, but I may have been overdosed on text at that point and read what I wanted to see. Also, there don't seem to be restrictions on ordinary queries, but the data I need isn't contained there so I have to resort to other options. The results of what I am doing intend to be available for public use in the form of research, though extracted and analyzed first. 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...@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: ToS regarding research purposes?
The terms are here http://code.google.com/apis/maps/terms.html They cover all the services on http://code.google.com/apis/maps/index.html I think the one that will give you trouble is [ You must not ] 10.12 use or display the Content without a corresponding Google map, but note that you can ask permission -- 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...@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: Adding custom control to the Map
Code to initialize the map and create the button is located here:http://www.suntransformer.com/peter/GoogleAPI3/test/main.js What is var Path = new PathObject(); does some other script need to be loaded first? -- 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...@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: Adding custom control to the Map
I just linked the script that is called when the page loads up. It creates the map, controls, and panorama. It's just the js part and none of the html or anything. Since it is my main one all of my public variables and everything are called in it. It's not meant to be a standalone to load the page on its own. But all my map creation and the creation of the controls are there. For some reason it doesn't like it after I added the code for the custom control and it breaks on loading the page with the error I described. If I ignore and continue the page loads, but none of my controls are generated on the page. I think it might have something to do with me pushing the controls to the top right position, perhaps that array is not defined for some odd reason, I'm not entirely sure on that. On Thu, Jun 17, 2010 at 3:01 PM, Rossko ros...@culzean.clara.co.uk wrote: Code to initialize the map and create the button is located here: http://www.suntransformer.com/peter/GoogleAPI3/test/main.js What is var Path = new PathObject(); does some other script need to be loaded first? -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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: Adding custom control to the Map
Its line 34 in the google maps code not mine. On Thu, Jun 17, 2010 at 3:51 PM, Rossko ros...@culzean.clara.co.uk wrote: Oh okay, the PathObject(); line was line 34 for me. Unable to test further. -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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: InfoWindow, Chrome Safari, Flash problem
On Jun 17, 6:02 pm, petomane henry.sen...@googlemail.com wrote: Also when the map is moved, the InfoWindow moves but the youtube video does not. there was an explanation on this thread about the webkit browsers (chrome and safari) http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/fd5d35c9f4178736 ... -- 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...@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: KML and custom icons being resized
On Jun 18, 2:02 am, PaulG foofoo...@gmail.com wrote: a) Does anyone know of a possible work-round for this? Can I have my 13x14 and 14x22 icons showing at the correct size? a workaround is to create a 32x32 transparent icon in photoshop and paste your smaller icon in the center. It will have a lot of transparent area but will show at the correct size. For example the 14x22 would have an extra 9 transparent pixels on each side and 5 pixels top and bottom. ... -- 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...@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: Error on line 8 while panning around in street view...
Is there any solution I can implement on this or am I going to have to wait for the guys at google to resolve this issue? On Thu, Jun 17, 2010 at 8:12 AM, Nathan Raley nlrale...@gmail.com wrote: I'll read up on those, so is there any solution? On Wed, Jun 16, 2010 at 6:24 PM, William william.g...@gmail.com wrote: On Jun 16, 11:11 pm, Nathan Raley nlrale...@gmail.com wrote: What I find odd is that this works fine in Chrome and Firefox, but seems specific for IE. that's because the only graphics technology available in IE is VML, and this is a VML specific bug. In the other browsers SVG and other technologies are used. For details see Marc Ridey's talk at Google IO: see pdf page 33: http://dl.google.com/googleio/2010/geo-maps-api-v3-api.pdf session video: http://code.google.com/events/io/2010/sessions/maps-api-v3-api.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...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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: KML and custom icons being resized
On Jun 18, 2:02 am, PaulG foofoo...@gmail.com wrote: There exists a kml iconStyle scale which is not supported in maps v3 according to this table: http://code.google.com/apis/kml/documentation/kmlelementsinmaps.html scale doesn't work but I think you will have to use the hotSpot in the IconStyle to position the icon, if you use the workaround of making the icons 32x32 with transparent pixels surrounding the actual icon. http://code.google.com/apis/kml/documentation/kmlreference.html#iconstyle ... -- 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...@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 make the map fit to web browser?
Hi guys, I am looking to add my map to browser with fitness facility, I mean for example, if I resize the web browser, the map will fit to browser upon resizing so always the map object should fill the browser. so any idea guys how to do that? 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...@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: InfoWindow, Chrome Safari, Flash problem
Thanks for pointing this out I have updated the code so that for Chrome and Safari i put some marker html in the InfoWindow and overlay the video on top. I've also added code so the video tracks the infowindow when the map is moved. It's a bit klunky but better than it was http://slide-rules.co.uk/ICC/boris_again/ On Jun 17, 9:59 pm, William william.g...@gmail.com wrote: On Jun 17, 6:02 pm, petomane henry.sen...@googlemail.com wrote: Also when the map is moved, the InfoWindow moves but the youtube video does not. there was an explanation on this thread about the webkit browsers (chromeand safari) http://groups.google.com/group/google-maps-js-api-v3/browse_thread/th... ... -- 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...@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: InfoWindow, Chrome Safari, Flash problem
Thanks for pointing this out I have updated the code so that for Chrome and Safari i put some marker html in the InfoWindow and overlay the video on top. I've also added code so the video tracks the infowindow when the map is moved. It's a bit klunky but better than it was http://slide-rules.co.uk/ICC/boris_again/ On Jun 17, 9:59 pm, William william.g...@gmail.com wrote: On Jun 17, 6:02 pm, petomane henry.sen...@googlemail.com wrote: Also when the map is moved, the InfoWindow moves but the youtube video does not. there was an explanation on this thread about the webkit browsers (chromeand safari) http://groups.google.com/group/google-maps-js-api-v3/browse_thread/th... ... -- 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...@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 make the map fit to web browser?
Please see this example: http://code.google.com/apis/maps/documentation/javascript/examples/map-simple.html Basically, set the map DIV to width:100%; height:100%; On Jun 18, 7:57 am, khaledgm khaledg...@gmail.com wrote: Hi guys, I am looking to add my map to browser with fitness facility, I mean for example, if I resize the web browser, the map will fit to browser upon resizing so always the map object should fill the browser. so any idea guys how to do that? 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...@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: Stupid Question about Scrollbars
I can't duplicate your problem it seems to work fine for me. Can I see your map? On Jun 17, 12:46 am, Ashley ash...@host365.com wrote: Hi I am sorry to disappoint you but if you try it at different zoom levels and/or different window size the evil scrollbars reappear. I am having exactly the same problem. It keeps pretending to work but as you try different zoom levels or even at same zoom level it will randomly reappear. Regards Ashley On Jun 16, 4:39 pm, Tyler pineapplelosange...@gmail.com wrote: Thanks for your resposes guys (and letting me know about the javascript error). I figured it out with your help. What I did was set the map canvas size to height 800px then the body to overflow:hidden. That solved the problem. =) Thanks again! Tyler On Jun 16, 3:58 am, en4ce djen...@googlemail.com wrote: there are scrollbars if you see the marker in europe... iam not sure if there is a method to disable the scrollbars but making the infowindow bigger should resolve that problem anyway... just work on the size of the infowindow On 16 Jun., 08:51, Leonid Rozenblyum lrozenbl...@gmail.com wrote: I see no scrollbars there, tried IE Chrome. BTW, there are javascript exceptions there, the console object that is used is undefined (probably you use Firebug. But then for IE you shoud connect Firebug Lite javascript) -- 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...@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: Z-Index of KmlLayers
On Jun 17, 2:34 am, dwieeb dwi...@gmail.com wrote: Is there a way I can order these layers via some z-index property of the KmlLayers object? they are displayed as one tile layer, and to control the display order, you need to call setMap() in the correct order. Because setMap() is asynchronous, you need to have code to ensure the next layer is added after the previous one is ready. I found that the 'defaultviewport_changed' event can be used for this. See the following example for 4 layers: http://www.william-map.com/20100617/1/map.htm ... -- 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...@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] StreetView Markers not being removed?
Note: If you want two markers to keep the same LatLng position, bind the position property of one marker to the other such as: marker1.bindTo('position', marker2); As you drag either marker1 or marker2, the other marker will move too, even if one is in StreetView and the other in the Map. On Tue, Jun 15, 2010 at 5:50 AM, Nathan Raley nlrale...@gmail.com wrote: Let me describe my current situation as I stand right now. I set my Pano to a div called pano via: myPano = new google.maps.StreetViewPanorama(document.getElementById(pano)); map.setStreetView(myPano); Now it is my understanding after some previous replies that in order to have a marker show up on both my map as well as my StreetView Panorama that I need to have 2 copies of each marker I want to be displayed on both. This is even true if I have my markers stored in an array and am using marker manager to show the markers on the normal map and am setting the map on the individual marker itself to myPano. Okay, this is fine, so I've created 2 markers, one for the normal map and one for my street view. I am storing the markers in 2 different arrays, 1 for the street view and one for my normal markers. I am wanting to update the markers on the normal map if the markers are dragged in my street view pano and vice versa. This is updating them fine; however, the old marker position and old marker in the pano is still showing up and not being removed. I am adding new markers or changing the location of previous ones by storing them in the markerid position in my array. If it is updating a positon I simply use my Array[markerID].setPosition(position) to the new position. However, the marker in the Pano is being shown at the new Position but the old position and old marker location is not being removed. Is it not possible to remove a marker from the StreetViewPanorama? I have tried cycling through my street view array and for each marker stored in it doing a .setMap(null) and then calling a function once that has completed to reload the markers in the array, which have the updated positions, but the old marker is still showing up. Also, another thing to note is I added the following listeners for the markers as such: StartListeners.push(google.maps.event.addListener(ZoneStartFinishMarkers[idStart], drag, (function(){ // Creates the Listener for the StartMarker var Point = ZoneStartFinishMarkers[idStart].getPosition(); // Gets the new location of the marker ZoneStartFinishMarkersSV[idStart].setPosition[Point]; } ))); Which should be updating the position of the marker in the street view panorama if I understand things correctly as the regular map marker is being dragged; however, this fails to do so. Any ideas? -- 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...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@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...@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: Multiple Markers Using PHP/JavaScript
This is a common issue. Daniel wrote a great post on how to address it. Take a look at http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/f40390e4a6ba89e9/ Chad Killingsworth On Jun 17, 9:40 pm, MarkF mrkflem...@gmail.com wrote: Hi, I'm trying to load multiple markers to my map using the following code. It load the multiple markers just fine, but when I click on the marker to provide info, it gives me the same text (the last text loaded from the db query) into each InfoWindow! Anybody know how I can improve my code to fix this? Thanks! code script type=text/javascript // Creating a LatLng object containing the coordinate for the center of the map var latlng = new google.maps.LatLng(32.396989, -111.004427); // Creating an object literal containing the properties we want to pass to the map var options = { zoom: 10, center: latlng, mapTypeId: google.maps.MapTypeId.ROADMAP}; // Calling the constructor, thereby initializing the map var map = new google.maps.Map(document.getElementById('map'), options); ?php $link = mysql_connect(localhost, user, password) or die(Could not connect: . mysql_error()); mysql_selectdb(lightning,$link) or die (Can\'t use dbmapserver : . mysql_error()); $result = mysql_query(SELECT * FROM shotspots,$link); if (!$result) { echo no results ;} while($row = mysql_fetch_array($result)) { echo var marker = new google.maps.Marker({\n; echo position : new google.maps.LatLng( . $row['latitude'] . , . $row['longitude'] . ),\n; echo map : map,\n; echo icon : 'images/photo.png'\n; echo });\n; echo var infowindow = new google.maps.InfoWindow({\n; echo content : ' . addslashes($row['description']) . '\n; echo })\n; echo google.maps.event.addListener(marker, 'click', function() {\n; echo infowindow.open(map, marker);\n; echo })\n; } mysql_close($link); ? /script /code -- 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...@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 textual labels
hi This is my first time here , i have done my best to resolve my issues on my own but i do not know what to do with this: I need a bare map ( not terrain - not hybrid - not satellite) free from any text I just need shapes ,squares , rectangles and curvatures of buildings and maybe streets as well. is that possible so far ? 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...@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] Multiple Office Locations
I have four Branch Offices. Is it possible to have a Map on each Branch's page in my website? -- 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...@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: Z-Index of KmlLayers
That solution would effectively mean the user downloaded a new set of tiles for each KMLLayer rather than a single set for all of them. It would be nice if there was a better method. Chad Killingsworth On Jun 17, 8:53 pm, William william.g...@gmail.com wrote: On Jun 17, 2:34 am, dwieeb dwi...@gmail.com wrote: Is there a way I can order these layers via some z-index property of the KmlLayers object? they are displayed as one tile layer, and to control the display order, you need to call setMap() in the correct order. Because setMap() is asynchronous, you need to have code to ensure the next layer is added after the previous one is ready. I found that the 'defaultviewport_changed' event can be used for this. See the following example for 4 layers: http://www.william-map.com/20100617/1/map.htm ... -- 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...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.