[Google Maps API v3] Extracting data from KML layer on MouseMove event
This is my first post here, so I hope I've included all the information you need - if you need anything else, let me know. I'm using V3 of the API, and am trying to extract data values from an added KML layer. The KML layer was created using ArcGIS 9.3, and I'm trying to extract the value from the tag. I can do this successfully on the click event - see http://www.nickbearman.me.uk/academic/test20100529/V3KMLLayer.htm and click on one or more of the pinky boxes over the UK. However, I can't get this to work on the MouseMove event. The code is in that file (lines 52-62) but just doesn't do anything. As far as I can tell, the MouseMove event doesn't even fire - which is a bit odd. An example of what I want to do is at http://www.nickbearman.me.uk/academic/test20100529/V3Map.htm where the instance is set to map (i.e. the map) rather than ctaLayer (the KML layer). In this example, it just returns 'Jim' as I can't access the KML data. Any thoughts or other things I could try please? I'm using Firefox 3.6.3 with this. Thanks, Nick. -- 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] Bug Report: default language behavior difference between geocoder versions V2 & V3
I've noticed a difference in the localization of results on the HTTP geocoder which I'm not sure is intentional. The V2 reverse geocoder defaulted the language of the locality names to the local language, while the V3 returns them all in english. For example: V3: http://maps.google.com/maps/api/geocode/xml?latlng=34.3937,132.464&sensor=false V2: http://maps.google.com/maps/geo?q=34.3937,132.464&output=xml&sensor=false The V3 locality/country/etc names are all in English, while the V2 results tend to be in the local language of the geocoded location. I've tried this with points in several countries and the behavior is consistent. While I could set the output language manually, if I want the local name of a place this would require twice the number of geocoder requests to accomplish. The docs however do not mention a difference in behaviors with respect to the language/hl parameters V2: http://code.google.com/apis/maps/documentation/geocoding/v2/index.html#GeocodingRequests V3: http://code.google.com/apis/maps/documentation/geocoding/#GeocodingRequests Is this the new default behavior or am I missing something? -- 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 properties to Object.prototype breaks Google Maps
I notice that when any property is added to Object.prototype (a variable or a function), Google Maps will fail to load the map. Here is an example demonstrating the problem: http://dl.dropbox.com/u/9699560/map.html If you comment the line that says 'Object.prototype.pi = 3.1415;', the map will load. Web developer gives me this error: Error: Invalid value: [object Object] (Error in property : (a[d] is not a function)) Source File: http://maps.gstatic.com/intl/en_us/mapfiles/api-3/1/8a/main.js Line: 16 And Firebug says: a[d] is not a function I'm not sure what causes this, and I can't even begin to debug the minified Google code, so I was wondering if anyone had a fix or a workaround. Having access to Object.prototype is important, because I implement Douglas Crockford's Object.prototype.beget method (which will be added to the next ECMAScript version as Object.create). Thank you for the 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.
[Google Maps API v3] Re: Adding properties to Object.prototype breaks Google Maps
Alright, thanks for your all's help! I will find a different means of inheritance in my code. On Aug 3, 2:20 am, Ben Appleton wrote: > Hi Nick, > > Please do not add new properties to Object.prototype. It is for good > reason that Crockford's .beget method is not going to be added to > Object.prototype - that could break many existing codebases much as > you've found with Maps API v3. Working around unexpected properties > on Object.prototype will slow down the various places we use Objects > as hash maps, as William points out. > > I suggest using Object.beget:http://www.room51.co.uk/js/beget.html. > > Cheers > Ben > > On Tue, Aug 3, 2010 at 1:46 PM, Nick wrote: > > I notice that when any property is added to Object.prototype (a > > variable or a function), Google Maps will fail to load the map. > > > Here is an example demonstrating the > > problem:http://dl.dropbox.com/u/9699560/map.html > > > If you comment the line that says 'Object.prototype.pi = 3.1415;', the > > map will load. > > > Web developer gives me this error: > > > Error: Invalid value: [object Object] (Error in property : (a[d] > > is not a function)) > > Source File:http://maps.gstatic.com/intl/en_us/mapfiles/api-3/1/8a/main.js > > Line: 16 > > > And Firebug says: > > > a[d] is not a function > > > I'm not sure what causes this, and I can't even begin to debug the > > minified Google code, so I was wondering if anyone had a fix or a > > workaround. > > > Having access to Object.prototype is important, because I implement > > Douglas Crockford's Object.prototype.beget method (which will be added > > to the next ECMAScript version as Object.create). > > > Thank you for the 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 > > athttp://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] Not working with asp.net masterpages?
This was not a problem in v2 but in v3, it will not display the map if this part of the html: is within a form tag. I have tested this in a standalone .aspx page as well, like this: does not work: and this does: Now, since I can't avoid having a form tag in my MasterPage and the map_canvas div is within my Content Page, how can I get it to work? Any workaround to this or is it a major oversight? Appreciate any input please. 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: Not working with asp.net masterpages?
I really hoped you might have been on to something there so I added what you suggested. I now have the following and the map does still not show. my MasterPage styles: html, body { height: 100%; margin: 0; padding: 0; } my MasterPage form tag: and my content page: Any other ideas please? Thanks On Sep 13, 11:59 am, Rossko wrote: > > This was not a problem in v2 but in v3, it will not display the map if > > this part of the html: > > > > > > is within a form tag. > > What size does the form have? 100% of 'undefined' is undefined. -- 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: Not working with asp.net masterpages?
Yes, I'm aware that would be useful to post my page online but I'm smack bang in the middle of a major update and can't deploy my new project until it's all completed. It looks like I might have to go live without the Google map and post again here when it's online. Just hoping there was some known reason! I am more than prepared however to post a simplified page with the rendered html if you could take a look? Thanks again. :-) On Sep 13, 3:28 pm, Rossko wrote: > > Any other ideas please? > > I suppose, as a last resort, you could try following the posting > guidelineshttp://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] Fusion Tables — infoWindowHtm l in a side
Ok — http://code.google.com/apis/maps/documentation/javascript/examples/layer-kml-features.html ...is Google's example of fetching contents on the KML tag and popping it into a side . I know it is possible to load a Fusion Table Layer instead of a KML layer. Is it also possible for a 'click' on a Fusion Table Layer to feed info window html into a side , similar to the above? (with info window's suppressed, obviously). All the best, Nick -- 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 — infoWindo wHtml in a side
Apologies. http://mercypodcast.webs.com/google-map-api.html On Jan 12, 12:48 am, "geocode...@gmail.com" wrote: > On Jan 11, 4:46 pm, Nick wrote: > > > Greetings, > > > Thanks for posting. > > > Indeed you are right, I tried to work something up from the example, > > but fear I am missing the point somewhere. > > A link would help. I can't debug a code posting... > > -- Larry > > > > > > > On Jan 11, 11:15 pm, "geocode...@gmail.com" > > wrote: > > > > On Jan 11, 2:07 pm, Nick wrote: > > > > > Ok — > > > > >http://code.google.com/apis/maps/documentation/javascript/examples/la... > > > > > ...is Google's example of fetching contents on the KML > > > > tag and popping it into a side . > > > > > I know it is possible to load a Fusion Table Layer instead of a KML > > > > layer. > > > > > Is it also possible for a 'click' on a Fusion Table Layer to feed info > > > > window html into a side , similar to the above? (with info > > > > window's suppressed, obviously). > > > >http://code.google.com/apis/maps/documentation/javascript/reference.h.. > > > >http://code.google.com/apis/maps/documentation/javascript/reference.h.. > > > > Looks to me like they both support click events that return > > > information about the clicked object. The rest is DHTML and > > > javascript, which you should be able to develop based off the example. > > > > What problem are you having doing that? > > > > -- Larry > > > > > All the best, > > > > > Nick- 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] Re: Fusion Tables — infoWindo wHtml in a side
Easy... but for a n00b. Just looking at your example now, thanks for the insight. I've just started playing around with such things at http://fiveboroughs.tumblr.com On Jan 12, 5:12 am, "geocode...@gmail.com" wrote: > On Jan 11, 5:59 pm, Nick wrote: > > > Apologies. > > >http://mercypodcast.webs.com/google-map-api.html > > have you checked your javascript console for errors? > > Error: layer is not defined > Source File:http://mercypodcast.webs.com/google-map-api.html > Line: 25 > > -- Larry > > > > > > > On Jan 12, 12:48 am, "geocode...@gmail.com" > > wrote: > > > > On Jan 11, 4:46 pm, Nick wrote: > > > > > Greetings, > > > > > Thanks for posting. > > > > > Indeed you are right, I tried to work something up from the example, > > > > but fear I am missing the point somewhere. > > > > A link would help. I can't debug a code posting... > > > > -- Larry > > > > > On Jan 11, 11:15 pm, "geocode...@gmail.com" > > > > wrote: > > > > > > On Jan 11, 2:07 pm, Nick wrote: > > > > > > > Ok — > > > > > > >http://code.google.com/apis/maps/documentation/javascript/examples/la... > > > > > > > ...is Google's example of fetching contents on the KML > > > > > > tag and popping it into a side . > > > > > > > I know it is possible to load a Fusion Table Layer instead of a KML > > > > > > layer. > > > > > > > Is it also possible for a 'click' on a Fusion Table Layer to feed > > > > > > info > > > > > > window html into a side , similar to the above? (with info > > > > > > window's suppressed, obviously). > > > > > >http://code.google.com/apis/maps/documentation/javascript/reference.h.. > > > > > >http://code.google.com/apis/maps/documentation/javascript/reference.h.. > > > > > > Looks to me like they both support click events that return > > > > > information about the clicked object. The rest is DHTML and > > > > > javascript, which you should be able to develop based off the example. > > > > > > What problem are you having doing that? > > > > > > -- Larry > > > > > > > All the best, > > > > > > > Nick- Hide quoted text - > > > > > - Show quoted text -- 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] Multiple layer on load
Toggle-able KML / Fusion Table layers are possible using Javascript and radio buttons or checkboxes etc. Is it possible to load several layers from different sources (say, different Fusion Tables) at the same time, when the map is initialised? I've noticed a large amount of geometry on a map slows down the maps performance, in particular the time it takes between clicking a feature on the map and the info window popping up? Would spreading the data over several Fusion Tables cut out this lag? For example 5 tables each holding data for a region of a country, rather than 1 table holding all of that data? Best, Nick -- 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 layer on load
> That is a true statement. Why is there a question mark at the end of > it? It's the Australian Interrogative Inflection. -- 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] Google Map functioning incorrectly in IE 8
I'm working on a site with an interactive map. It functions fine in Firefox and Chrome - but does not in IE 8. When it loads in IE - the map is centered in the wrong location, and grays out more than half of the map. Scrolling to the center, the majority of the map remains grayed out. It appears that the intended center of the map show up as the top left corner of the map in IE. Any help would be appreciated. Thanks. Here is the site: http://www.skidmore.edu/academics/wri/rephotographs.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-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Re: 2011/2/18 - New Release
Is it possible that the default 'Labels on' for Satellite view can be set to to 'labels off'? A 'clean' map is helpful for viewing the distribution of markers without distractions, the user then retains the option to add labels or switch to map view to get a better 'sense of place'. On Feb 18, 2:43 am, "Chris Broadfoot (Google Employee)" wrote: > Hi all, > > We recently pushed out a new version of Maps JavaScript API v3. The latest > nightly version is 3.4 > > Just a reminder that production sites should specify a minor version: > - v=3.3 for feature-stable > - v=3.2 for frozen > > Read more about versions > here:http://code.google.com/apis/maps/documentation/javascript/basics.html... > > As previously mentioned in the previous release notes, 3.1 will be retired > soon. Implementations requesting 3.1 will be served 3.2. Please test your > applications against 3.2 as soon as possible. > > In this release: > - Markers in Street View are only shrunk, not enlarged (Issue 2969) > - Draggable directions now work when routeIndex is not 0 (Issue 2995) > - Conflict between Flash and map dragging fixed (Issue 2956) > - Labels are now on by default when Satellite mode clicked from map type > control > - When mapTypeId is changed in maptypeid_changed listener, the map type > control is now consistent > > See the full changelog > here:http://code.google.com/p/gmaps-api-issues/wiki/JavascriptMapsAPIv3Cha... > > Cheers > Chris > > --http://twitter.com/broady -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] fitBounds()
Hello, http://mercator.webs.com/array-v4.html This map I'm reasonably happy with, stumped however as to how to zoom to a particular area when the dropdown menu is changed. (For example, on changing the dropdown to North West the map zoom in to encompass only that area, based on some co-ordinates I had supplied). I need to know how to store a handful bounds, and then how to call one of the handful depending on the selected index of a dropdown menu. Advice please. N -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Re: Thousands of polygons...
I've tried this with the UK, the file size for all that geodata was 25MB+, mainly because of Scotland's complex coastline and the fact that some counties had incredibly complex to take account of hundred and hundreds of offshore islands. The performance on Fusion Tables was OK if I included just the name and geometry for each polygon. Adding any other data (ie. useful for turning the map into a chloropleth) slowed down the map's reaction times. Based on my experience I disagree that Fusion Tables is a solution for you at present. I assume there's a way to simplify polygons while ensuring the boundaries are still coterminous (ie. using some kind of GiS to crunch the numbers). Presumably then simpler polygons would equal better Fusion Tables performance. If anyone can enlightenment me on whether I'm right in my assumption, do tell... Good luck Silverio, Nick On Feb 20, 3:54 am, "Silverio Lora" wrote: > Hello friends, > > I'm using the Google Maps API for showing information about the 32 states > and 2,456 municipalities of my country. > > Each polygon has between 500 and 2,000 nodes and I have serious performance > problems. > > I tried simplifying some polygons removing nodes without a real improvement. > > I tried creating GroundOverlay for the 32 states but I'll expend a lot of > time for 2,456 images. > > Some suggestion?? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] panToBounds
Can't seem to get panToBounds working: http://mercypodcast.webs.com/panToBounds.html If I set it to respond to just the first dropdown menu selectedIndex it works fine. In the example given, it is meant to come into play only when selectedIndex for both dropdown menus matches certain conditions: conditiona==8 && conditionb==0 (or 1, or 2, and so on) ...but it doesn't respond. Function in question is region() Excuse the messy code but it's worked ok up to now. Any thoughts? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Re: panToBounds
Thanks... it was staring me in the face. Schoolboy error. On Feb 25, 2:29 am, Esa wrote: > selectedIndex value of the left select element never reaches 8. > Possible values are 0...7 -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Custom controls
How do I ascertain a custom control's element id? Ie. document.getElementById etc? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Re: Custom controls
Good question. Anyone? Styles are defined on creation. I will give your suggestion a go. On Mar 1, 3:10 pm, Martin™ wrote: > Can you assign an id to the custom control when you create it? > > Martin. > > On Mar 1, 3:00 pm, Nick wrote: > > > > > How do I ascertain a custom control's element id? Ie. > > document.getElementById etc? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Re: Custom controls
To my limited knowledge the answer seems to be no. It's for a legend that the user can remove if it's cluttering up the map_canvas. I've just discovered this approach: — create the control div — nest another div inside of it, whose id we define — toggle the { display: } of that div between 'block' and 'none' using, for example, a checkbox. The control appears to disappear and reappear, although of course it is never actually removed from the map. Which, for a quick and dirty workaround, might be the ticket... On Mar 1, 3:14 pm, Nick wrote: > Good question. Anyone? > > Styles are defined on creation. I will give your suggestion a go. > > On Mar 1, 3:10 pm, Martin™ wrote: > > > > > Can you assign an id to the custom control when you create it? > > > Martin. > > > On Mar 1, 3:00 pm, Nick wrote: > > > > How do I ascertain a custom control's element id? Ie. > > > document.getElementById etc? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Map does not display in IE7
Map doesn't load in IE7 — just a grey box where the map should be. Or so I'm told — I'm an amateur, and on a mac, so I don't have the equipment to check it out. Can anyone tip me off as to what I've done wrong? http://mercator.webs.com/index%20v7.html -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Re: Map does not display in IE7
Thank you, you are a legend. It's always the littlest thing... On Mar 2, 4:03 pm, Andrew Leach wrote: > On 2 March 2011 15:53, Nick wrote: > > > > > Can anyone tip me off as to what I've done wrong? > > Here: > > mapTypeControlOptions: { > mapTypeIds: types, > style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR, > position: google.maps.ControlPosition.RIGHT_TOP, > }, > > you have a comma immediately before the }. > > IE's error is "expected identifier" or something similar, so it's > telling you that something is missing. In this case, a comma > *introduces* something new -- it signifies that something is to > follow, and the browser doesn't find anything, just the } which closes > the object. > > Other browsers are better behaved and simply use commas to separate > properties. > > The solution is to ensure that any comma is either followed by > something substantive, or removed altogether. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Custom markers
Hello, Is it possible to use the 'small marker' types (seen in Fusion Tables layer) as Custom Markers? If so, what are the URLs for these markers so I can make copies? N -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Gviz query
Anyone had any luck with Gviz queries in the maps API version 3? The idea being to remove the initial query and replace it with a new one, according (in this case) to a selectedIndex. http://mercator.webs.com/viz%20layer.html -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Re: Gviz query
Figured it based on this: http://code.google.com/apis/maps/documentation/javascript/overlays.html#RemovingOverlays Silly me! On Mar 6, 9:03 pm, Nick wrote: > Anyone had any luck with Gviz queries in the maps API version 3? > > The idea being to remove the initial query and replace it with a new > one, according (in this case) to a selectedIndex. > > http://mercator.webs.com/viz%20layer.html -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Re: Gviz query
Thanks Esa. Actually I've worked a lot with FT layers and must agree. The reason I was looking into this was because, by generating the markers rather than in an FT layer, I was able to give them titles (equivalent to title="" in anchor tags). Other marker mouseover effects could also be set. If you know of a solution to show titles — something I think is helpful for a user when trying to decide if a marker is relevant to them, and hence open the info window - I'd love to hear your thoughts. Likewise, I'd be greatly if you or indeed anybody could answer this: in my original example using the google Viz API, is there a way to skip the geocode step altogether assuming I already have the LatLng coordinates in my Fusion Table? All the best, Nick On Mar 7, 3 :02 pm, Esa wrote: > I would recommend using Fusion Tables > Layershttp://code.google.com/apis/maps/documentation/javascript/overlays.ht... > > You can make SQL queries with them too. Further you can geocode the > address data in Fusion Tables. Now you are fetching addresses from a > Fusion Table and geocoding them on client side. That is not a > recommended practice. > > With Fusion Tables Layers you can switch layers on and off by > > layer.setMap(map); > layer.setMap(null); > > Make an Array for layers. Keep record about the selected layer. > var layers = []; > var activeLayer = layers[x]; > > On 'change' of select element, trigger a function like: > > function swap(){ > activeLayer.setMap(null); > var now = document.forms[0].switcheroo.selectedIndex; > layers[now].setMap(map); > activeLayer = layers[now]; > } > > No guarantee. Just an idea. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Hyperlink to Fusion Table Layer marker
Hi all, I've noticed something similar done in API v3 ( http://www.geocodezip.com/v3_MW_example_linktomarker.html?id=Marker%20Three ) but could it be possible with FT layer? Best, Nick -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Printing Multiple maps on a page
Trying to get 3 google maps to print out correctly over three pages. Here is the web site. Everything displays correctly...even when you go to print preview it looks correct. But when you print it out the kml overlays show up on both maps (on the first page)...looks like the second map runs into the first. Is there an easy fix for this? Thanks -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Invalid value for property zoom
Hi everyone So I've tried extracting info from a URL and then passing that to various functions such as setZoom, setCenter and so on. In the example given it's just zoom I'm trying to set. But I get 'invalid value for property zoom'. http://mercator.webs.com/index%20copy.html?z=5&lat=54.942589833&lng=-3&t=satellite&s1=0&s2=-1&i1=undefined&i2=undefined I think, although I don't know, that it's expecting a number — but finding a string. The functions decoding the URL can be found at lines 493 and 506. All the best, Nick -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Re: Invalid value for property zoom
Many thanks to both of you. On Mar 10, 11:56 am, Rossko wrote: > > I think, although I don't know, that it's expecting a number > > You can find out in the reference > docshttp://code.google.com/apis/maps/documentation/javascript/reference.h... > > > — but finding a string. > > Standard javascript conversion functions are > availablehttp://www.w3schools.com/jsref/jsref_parseInt.asphttp://www.w3schools.com/jsref/jsref_parsefloat.asp > > But I also note your map is created while 'DecodeZoom' is still > undefined and you start adding layers, before you get the zoom value > from the url. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Get table info from a mouse event
Hello, currently I'm mucking around with marker clicks to particular pieces of info from a Fusion Tables Layer... var somename = e.row['column_name'].value; and var somename = e.infowindowHtml; Just hoping someone can tell me if I can get the rowID using a similar method? I've looked in the reference, maybe I'm missing something? Best, n -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Re: Get table info from a mouse event
Thank you, I overlooked that entry in the ref. I suppose what I mean is turning the process on it's head, not saying 'tell me the row.value of the marker I click' but 'when generating an infowindow, put column A, row value n inside it'. On Mar 10, 5:14 pm, "geocode...@gmail.com" wrote: > On Mar 10, 8:46 am, Nick wrote: > > > Hello, > > > currently I'm mucking around with marker clicks to particular pieces > > of info from a Fusion Tables Layer... > > > var somename = e.row['column_name'].value; > > > and > > > var somename = e.infowindowHtml; > > > Just hoping someone can tell me if I can get the rowID using a similar > > method? I've looked in the reference, maybe I'm missing something? > > A click event on a fusionTable should return the > row:http://code.google.com/apis/maps/documentation/javascript/reference.h... > > -- Larry > > > > > > > Best, > > > n -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Re: Get table info from a mouse event
Indeed it is. But, for arguments sake, let's say I wanted to draw an infowindow not as a result of a marker click, simply because I wanted it to appear. If it had no contents passed to it by the click, the window would be empty. How then, if at all, would I tell the infowindow 'this is the location in the Fusion table of the info you will populate yourself with'. On Mar 10, 5:54 pm, "geocode...@gmail.com" wrote: > On Mar 10, 9:25 am, Nick wrote: > > > Thank you, I overlooked that entry in the ref. > > > I suppose what I mean is turning the process on it's head, not saying > > 'tell me the row.value of the marker I click' but 'when generating an > > infowindow, put column A, row value n inside it'. > > What problem are you having doing that? My understanding is that > "row", is the complete row from the fusion table with all columns. > Isn't everything you need to display in the infowindow there? > > -- Larry > > > > > > > On Mar 10, 5:14 pm, "geocode...@gmail.com" > > wrote: > > > > On Mar 10, 8:46 am, Nick wrote: > > > > > Hello, > > > > > currently I'm mucking around with marker clicks to particular pieces > > > > of info from a Fusion Tables Layer... > > > > > var somename = e.row['column_name'].value; > > > > > and > > > > > var somename = e.infowindowHtml; > > > > > Just hoping someone can tell me if I can get the rowID using a similar > > > > method? I've looked in the reference, maybe I'm missing something? > > > > A click event on a fusionTable should return the > > > row:http://code.google.com/apis/maps/documentation/javascript/reference.h... > > > > -- Larry > > > > > Best, > > > > > n- 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-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Re: Get table info from a mouse event
I think I've figured it now using Gviz to get the data. Thanks again for your input. On Mar 10, 6:38 pm, "geocode...@gmail.com" wrote: > On Mar 10, 10:04 am, Nick wrote: > > > Indeed it is. > > > But, for arguments sake, let's say I wanted to draw an infowindow not > > as a result of a marker click, simply because I wanted it to appear. > > If it had no contents passed to it by the click, the window would be > > empty. > > > How then, if at all, would I tell the infowindow 'this is the location > > in the Fusion table of the info you will populate yourself with'. > > You would need to get that information out of the fusion table (that > would be a fusion table API question not a maps API question). That > information would need to include the latitude and longitude of the > entry so you would know where to display it on the map. > > -- Larry > > > > > > > On Mar 10, 5:54 pm, "geocode...@gmail.com" > > wrote: > > > > On Mar 10, 9:25 am, Nick wrote: > > > > > Thank you, I overlooked that entry in the ref. > > > > > I suppose what I mean is turning the process on it's head, not saying > > > > 'tell me the row.value of the marker I click' but 'when generating an > > > > infowindow, put column A, row value n inside it'. > > > > What problem are you having doing that? My understanding is that > > > "row", is the complete row from the fusion table with all columns. > > > Isn't everything you need to display in the infowindow there? > > > > -- Larry > > > > > On Mar 10, 5:14 pm, "geocode...@gmail.com" > > > > wrote: > > > > > > On Mar 10, 8:46 am, Nick wrote: > > > > > > > Hello, > > > > > > > currently I'm mucking around with marker clicks to particular pieces > > > > > > of info from a Fusion Tables Layer... > > > > > > > var somename = e.row['column_name'].value; > > > > > > > and > > > > > > > var somename = e.infowindowHtml; > > > > > > > Just hoping someone can tell me if I can get the rowID using a > > > > > > similar > > > > > > method? I've looked in the reference, maybe I'm missing something? > > > > > > A click event on a fusionTable should return the > > > > > row:http://code.google.com/apis/maps/documentation/javascript/reference.h... > > > > > > -- Larry > > > > > > > Best, > > > > > > > n- Hide quoted text - > > > > > - Show quoted text -- 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-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Re: Extracting data from KML layer on MouseMove event
No I never did get it to work. I used a work-around which wasn't very pretty, but did the job. I have voted for the idea, so we wait and see! On May 20, 9:38 pm, Mike Dolbow wrote: > This can't currently be done, but it's on the issue list because others have > asked for it. If you agree with the need, star and vote for the > idea:http://code.google.com/p/gmaps-api-issues/issues/detail?id=3006 -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Bounding box behavior
Hi everyone, I already asked this question on stackoverflow, but this is probably the better place to ask: I am using Googles Map API v3. Can somebody explain the behavior of the map's bounding boxes to me? Depending on the zoom level these bounds behave weird - when I zoom in it works as expected - the bounds stretch from the lower left corner of the pane to the upper right corner. As soon as I zoom out it get weirds - the bounding box splits up. You can reproduce this with the google examples and the attached code. Just zoom out until the maximum after running the code. The wrong bounding boxes are really annoying - e.g. markers in between are not in the bounds of the map, although they are visible. http://code.google.com/apis/maps/documentation/javascript/examples/map-simple.html http://www.spotdiving.com/bug.png var viewportBox; google.maps.event.addListener(this.map, 'idle', function(event) { var bounds = map.getBounds(); var ne = bounds.getNorthEast(); var sw = bounds.getSouthWest(); var viewportPoints = [ ne, new google.maps.LatLng(ne.lat(), sw.lng()), sw, new google.maps.LatLng(sw.lat(), ne.lng()), ne ]; if (viewportBox) { viewportBox.setPath(viewportPoints); } else { viewportBox = new google.maps.Polyline({ path: viewportPoints, strokeColor: '#FF', strokeOpacity: 1.0, strokeWeight: 4 }); viewportBox.setMap(map); } }); -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/2KmJMArvIx0J. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Re: Bounding box behavior
Thank you for your reply! Did you paste the code before zooming? When I paste it to the console and zoom out afterwards I can see it. Just tried it using Safari, I have not tested it in another browser. Well, what I am trying to achieve is the following: I want to know whether a marker is visible or not. Hence I wanted to check if the bounds of the map contain the position of this marker. This does not work when the bounding box of the map behaves like that, because a marker that is in between these rectangles will not be within their bounds. Is there a better way to check the visibility? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/mUe4FCCf6qMJ. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Implement Marker Manager loading w/ Marker Clusterer
Hello, I have a few questions regarding Marker Manager and Clusterer. I've got a website that handles a very large number of markers within a viewport. We've been using Clusterer to handle the markers, as the smart clustering works very well for us. However, we are having a hard time with loading the markers, since it shifts every time the bounds changed, and it results in very slow loading and updating times. We tried Marker Manager, and that works a lot better, since it has a slow load time upfront but then no load time after that. However, there is no smart clustering in Marker Manager, only predefined cluster locations. What I'm wondering is kind of technical. Why is the Manager able to load the markers upfront at a relatively fast speed, whereas Clusterer seems to have a harder time loading and drawing the markers? Ideally I would like to have Clusterer load like Manager, but maintain the clustering abilities. Thanks -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Geocode returning multiple results (disambiguation)
I posted this as a feature request, and wanted to make sure that there wasn't currently an option for this (there isn't that I can tell). Probably should have gone the other way around, but oh well. Is there any way to have the Geocoder return multiple matching results? For example: if I query "Halifax" I get "Halifax, England", but I'm actually looking for "Halifax, Canada". The geocoder could return multiple results based on the country bias and the match score. It doesn't however, as far as I can tell. To see what I mean: http://www.microsoft.com/maps/isdk/ajax/ Click "Find Information (advanced)", then "Using different settings", and enable the option "Disambiguation: custom". -- 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: Geocode returning multiple results (disambiguation)
On Dec 22, 5:13 pm, Ben Appleton wrote: > Hi Nick, > > The geocoder already returns multiple results for ambiguous queries. I realize that it is supposed to; I've just never seen it do it for address lookups. Do you have an example? :) I've tried many and never seen multiple results. Nick -- 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: Geocode returning multiple results (disambiguation)
Since I'm not the only one experiencing, I hope we can get clarification if this is by design or a bug. If by design, I hope that it is recognized as a feature request! Here is the feature request I put in: http://code.google.com/p/gmaps-api-issues/issues/detail?id=2042 Star it if you're interested in this feature please. On Dec 29, 6:45 pm, Jon wrote: > The geocoder doesn't seem to return multiple results for most > locations. > > Example: "new london" always returns New London, CT even though there > are a bunch of them. > > It does work for "mystic"... a bunch will be returned. -- 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: Customer controls in V3
Sure you can: http://code.google.com/apis/maps/documentation/v3/overlays.html#CustomOverlays Now, these aren't "custom controls" yet. But you can get them on specific layers of the map by attaching them in the onAdd function: var panes = this.getPanes(); panes.overlayImage.appendChild(div); If you look at the documentation for panes, there are predefined layers there that you can attach to. If you want it just floating on top of the map, like the other controls, you may just want to append it to the map.getDiv(). That's where the other controls are. Then just give it CSS positioning ("top: 0; left: 0;" for top-left, etc.). The problem with this is that since they aren't controls, the other controls don't know anything about what you're trying to do. Since we only have the gimped control-positioning (http://code.google.com/apis/ maps/documentation/v3/controls.html#ControlPositioning) we can't give the controls a specific position. The workaround is to go through the map-div and grab the right control div. This is really hacky though, especially since the control divs get added after the overlays, and as far as I can tell, there is no event to hook into that fires off after the controls are loaded. This API can be frustrating at times! I am currently using a "control" that sits in the top left of the map. This is the control: http://nickspacek.github.com/jQuery-PlacePicker/ It requires some more code to make it an overlay, which isn't demonstrated there, but is fairly easy. Nick On Jan 4, 1:23 pm, Илья wrote: > Hi, > > I'm new to Google Maps API. > I have a question is there ability to create controls and place them > on map (for example like in Map Maker to edit the map). > I know that in V2 we can create one. But what about V3? Any > guidelines? Examples? > > Thanks in advance, > -Ilya. -- 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: Customer controls in V3
If you want to get really dirty, I've cooked up something completely awful. I was interested in looking into how the map controls are created/added so I could find a better workaround for my control issues. I created this terrible piece of code: http://github.com/nickspacek/Google-Maps-V3-Hacks/blob/master/google.hooks.js Right now all it lets me do is inspect the code in the controls.js file, and add a hook to track when the controls have been added to the map. Since all of the map components are loaded dynamically and run through an eval function (google.__gjsload_apilite__), we can hijack that and mess around with the eval string. DISCLAIMER; not for the faint of heart, you're screwing with the obfuscated Google code here! If you break anything it's not my fault. Don't say I didn't warn you! I don't recommend that anybody use this 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] Re: Google does not provide a 'map initialized' hook?
Can you use the onAdd function that you get by extending the Overlay object? On Jan 6, 1:33 pm, David Stevenson wrote: > I know that the 'bounds_changed' event fires when the bounds are ready > to be accesses, but it would be very nice if there was an event that > only fired once when the map is fully initialized and getBounds() > would stop returning undefined. Is there no easy way to do this now? -- 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: Geocode not returning multiple results - address disambiguation
Please 'star' this feature request: http://code.google.com/p/gmaps-api-issues/issues/detail?id=2042 On Jan 6, 5:41 pm, Meenakshi Tadepalli wrote: > Hello > > Google maps API v3 doesn't seem to be working quite well for address > disambiguation. > > Could anyon eplease let me know as to where i need to file a bug with v3 > API? > > Thanks > Novatel -- 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: 2010/01/28: New Release
> Changed issues: > * Issue 1367: Feature Request: Expose LayoutManager for developers to > place DIVs in the "control flow" Currently, the stock controls take precedence over custom controls. Is this an intended and permanent limitation, or will this be more flexible? Or am I doing it wrong? :) Is there a way to put my custom controls into the layout first? I assumed that the exposed layout manager would have all of the stock controls exposed as well. What I want is to have my control across the top of the map, and bump the navigation controls down, but instead the nav controls bump my control to the right. For now, I'll set the navigation controls to be placed on the LEFT, but it'd be nice to be able to order the controls as we see fit. Thanks for this feature though! Nick Spacek -- 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: 2010/01/28: New Release
> Changed issues: > * Issue 1367: Feature Request: Expose LayoutManager for developers to > place DIVs in the "control flow" Also, I'd like to end up with a control sitting on top of the copyright. There doesn't seem to be any way to accomplish this currently with the LayoutManager. If I set BOTTOM_RIGHT, it sticks the control in the middle bottom. If I set RIGHT, it rises up to the top. Is there a way we can set the direction it flows? Thanks again! Nick Spacek -- 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: 2010/01/28: New Release
> Documentation: > "By default, all custom controls are placed after placing any API > default controls. You can override this behavior by setting a > control's index property to be a negative value. " Whoops, thanks for that! -- 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] Event to determine directionsDisplay rendering complete?
Hi, I'm using v3 on an iPhone, so map loading can be pretty slow, and I'd like to give a visual indication of busy/working to the user until everything has finished. Is there a way to determine when the directions polyline has finished rendering (and associated map zoom, re-centering, etc)? i.e., directionsService.route() callback is called, I call directionsDisplay.setDirections() and then things can chug along for up to 10 seconds before the rendering is complete. I tried using the 'idle' event, but it is fired soon after setDirections() is called, but well before the polyline appears and the map is re-positioned. I thought about using the tilesloaded event, but that might not fire if no new map tiles were needed? 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] Offline cache.manifest for Maps API v3 ?
Does it make sense to build a list of javascript files and commonly used images by the Maps system and place them in the HTML5 cache.manifest file for a mobile app? Obviously no point caching map tiles, but the core javascript library, marker images, etc. perhaps? 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: FYI: New Release (2010/05/11)
Any chance of making a 'more stable' version of v3 available, like there is for API v2 ? Even if it was just delayed by a couple of weeks, that would be enough to catch most serious issues, and it would mean we could develop without being exposed to the bleeding edge version, if that was what we wanted. (The issue with MarkerClusterer had me tearing my hair out for a couple of hours before I realised there was a new version of v3 that was causing the problems!) Many 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] MarkerCluster click-to-zoom on iPhone?
The MarkerCluster library for API v3 is excellent - thank you! On most browsers I've tried (Chrome, Opera, desktop Safari), a click on a 'cluster' will re-center the map on that location and also zoom in 1 level. However on the iPhone v3.1.2 it only re-centers the map, and doesn't zoom. Any idea why that would be, and are there any options to get it to do the zoom as well? Cheers -- 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: Bug Report: default language behavior difference between geocoder versions V2 & V3
Any update on this issue? This is a pretty big difference between the API versions and it's not mentioned anywhere in the documentation. -- 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] AdSense for Maps
When will AdSense for Maps be available in v3? thanks Nick -- 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: Bug Report: default language behavior difference between geocoder versions V2 & V3
Thanks Rossko, those links were very helpful. On Jul 19, 1:16 pm, Rossko wrote: > Issues are herehttp://code.google.com/p/gmaps-api-issues/issues/list > > These look > relevanthttp://code.google.com/p/gmaps-api-issues/issues/detail?id=1739&q=geo...http://code.google.com/p/gmaps-api-issues/issues/detail?id=1123&q=geo...http://code.google.com/p/gmaps-api-issues/issues/detail?id=883&q=geoc...http://code.google.com/p/gmaps-api-issues/issues/detail?id=558&q=geoc... -- 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: AdSense for Maps
anybody? On Jul 24, 3:00 am, nick fox wrote: > When will AdSense for Maps be available in v3? > > thanks > Nick -- 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] problem displaying address in infowindow
I am trying to display the geocoder address in an infonwindow, I have been able to display a button in the infowindow that will get the address and display it in the infowindow, but... When I try to load the address in the infowindow when the infowindow opens, nothing happens... thanks for your help Nick Here is my code: google.maps.event.addListener(marker, 'click', function() { infowindow.open(map, marker); var geocoder = new google.maps.Geocoder(); geocoder.geocode({'latLng': markerLatLng}, function(results, status) { switch(status) { case google.maps.GeocoderStatus.OK: jQuery('#addressResult').html(results[0].formatted_address); break; default: jQuery('#addressResult').html('No address available.'); break; } }); }); -- 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] Blurring starting point of google map
I would like to create and app that uses google maps and blurs the starting pin out and trip path for a .25 mile radius. So I do not show a home location? -- 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: Will google add some adSense or other advertising class in V3?
Hi John- I asked this question back on July 24 and you answered on August 6 basically saying no one knows which is a fair answer. 2 months later and it's still not here. When you recommend putting regular adsense outside of a map, how is it supposed to pick up any location specific information? thanks Nick On Aug 11, 8:10 pm, "Maps.Huge.Info (Google Maps API Guru)" wrote: > If you're looking to add something like the GAdsManager (v2) in your > v3 map, then you'll have to wait for that feature to be released. I'm > guessing it's on the list of things to do but there's no telling when > it will happen. I suggest in the meantime you use regularAdSense > outside the map and when the equivalent to GAdsManager is released for > v3, add it into your map. > > -John Coryat > > http://maps.huge.info > > http://www.usnaviguide.com > > http://www.zipmaps.net -- 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: Using KML link from fusion table as source for markers, keeping custom icons.
Google's answer on marker types ( http://www.google.com/support/fusiontables/bin/answer.py?hl=en&answer=185991 ) implies that you can't set a custom icon yet. You can use any of the 200 markers shown here: http://www.google.com/fusiontables/DataSource?snapid=99003 -- Nick On Dec 7, 9:05 pm, Ryan Wood wrote: > Hi, > > I greatly appreciate the help that I have received from this group. > > I would like to use a fusion table layer, or the kml link, for my map. > The main reason is due to map speed. If I use my current mysql/php api > to generate markers, the maps runs extremely slow. Using an embedded > map from fusion tables is virtually 100% different as far as speed is > concerned. However, there are very few icon options when using fusion > tables embedded map. I have tried using the fusion layer on my map, > but the fusion icon is still the same as expected since it is a > layer. > > I was wondering if I could somehow use the kml link from the fusion > table to plot the markers and still use my custom icon(s). > > Test page with two maps. First map is generated using php/mysql. > Second is using fusion embed. Notice the performance difference > between 1st and 2nd maps.http://www.legalgrab.com/florida_arrest_map2.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: How to Import Google MyMaps Markers into API?
While viewing your MyMap, look for the "View in Google Earth" link on the top right of the map. This is a link to a KML file which can be added as a KML Layer: http://code.google.com/apis/maps/documentation/javascript/overlays.html#KMLLayers The points which you have (especially if you are adding thousands of points) should be transferred to a new spreadsheet / database system called Google Fusion Tables: Announcement from Google: http://googlegeodevelopers.blogspot.com/2010/11/maps-data-api-deprecation-announcement.html Transfer Service: http://maps-data-liberation.appspot.com/ Fusion tables can easily be added to the Google Maps API: http://code.google.com/apis/maps/documentation/javascript/overlays.html#FusionTables -- Nick On Dec 7, 10:41 pm, EM wrote: > Greetings everyone, > > I just started getting into Google Maps API 3 days ago and have been > scouring the internet non-stop day/night to learn as much as I can > about it. Ive come to a point where I havent been able to find a > solution via searching and I know how much everyone hates people > asking questions without extensive research so I definitely wanted to > avoid that. The things I need help with include: > > 1) How to import 15 placemarkers from Google MyMaps into the API (this > map will easily have thousands of placemarkers in the future) > 2) Once the 15 placemarkers are imported, how do I sort the into > categories? > > I came across this page: > > http://www.geocodezip.com/MW_example_categories_headings.html > > And it rocks, I want something just like that. But I have no idea how > to get my placemarkers from GoogleMaps into the API, much less > categorize them and use the check boxes to show/hide them. I would > GREATLY appreciate any 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.
[Google Maps API v3] Re: 2011/2/18 - New Release
Hey Chris, The new controls look great, no problems there. But I do have a bug that's popped up in 3.4, possibly related to WebGL issues. A distant ancestor of my map div has -webkit-backface-visibility:hidden. This worked fine in 3.3, but now I'm getting all kinds of visual weirdness when my 3D transforms start firing on that ancestor div. Most prominently, the map ignores backface visibility and shows it's rear no matter what, until the animation completes and the whole thing gets removed from the DOM. But in addition it's causing visual oddities in some of its siblings. Sometimes certain divs will flicker, or disappear partially or completely (ex: one div gets cut in half; the left half continues its journey into the Z axis, the other just disappears), and sometimes, after the parent is no longer visible and in its flipped state, the map's backface sticks around. No parent or siblings to contain it, just a map backface floating in space! These behaviors seem to be completely random and change every time. Any idea what could be causing that? Everything else looks great, but I had to switch back to 3.3 in the meantime! Thanks for a great API, Nick -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Adsense integration with maps
Hi I just got adsense integrated up and running primetevely welcoming you to have a look http://koolbusiness.com Any advice, comment or recommendation how to proceed is most welcome. Sincerely /Nick Rosencrantz -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Draggable marker does not drag on Chrome Dev Mac
Using the javascript maps api v3, markers do not drag. I'm on version 15.0.854.0 dev of Chrome on a Mac running Lion 10.7.1. Draggable markers do work on maps.google.com however. Dragging does also work in Safari 5 and Firefox 6 on the same machine. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/XDYl9RD2sR4J. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
Re: [Google Maps API v3] Sales Contact for Google Maps API for Business?
Hi John, I can help we are a reseller in the UK and familiar with the terms of service for the Goggle maps API. See us at www.geo.me drop me a note and I can through your questions. Kind regards Nick Atkins On 17 January 2013 20:45, John Lortscher wrote: > I have pre-sales questions regarding Google Maps API for Business, > particularly regarding usage; I have read and re-read the fine print and > still have some questions. I have sent e-mails and have received no > responses. Can anyone help me out with some reliable contact information? > Thank you ... > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-maps-js-api-v3/-/7fPR306rgxAJ. > To post to this group, send email to > google-maps-js-api-v3@googlegroups.com. > To unsubscribe from this group, send email to > google-maps-js-api-v3+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > -- Nick Atkins. Business Development +44 (0)7815 308646 *Geo.me Solutions Ltd |* 83 Victoria St London SW1H 0HW *| *n...@geo.me | http://www.geo.me *"The UK's leading Google Maps Enterprise Partner"* Geo.me Solutions Limited is a company incorporated under the laws of England and Wales with company number 6762703 whose registered office is at 272 Union Street, Torre, Torquay Devon, TQ2 5QY, United Kingdom. The information in this e-mail and any attachments is confidential and may be legally privileged. It is intended solely for the addressee or addressees. If you are not an intended recipient, please delete the message and any attachments and notify the sender of misdelivery: any use or disclosure of the contents of either is unauthorised and may be unlawful. All liability for viruses is excluded to the fullest extent permitted by law. Any views expressed in this message are those of the individual sender. In accordance with the provisions of its Terms of Business the Company does not accept instructions or the creation of contractual obligations by unconfirmed electronic transmission. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.