[Google Maps API v3] Re: How can I search an address to use a building name?

2010-11-24 Thread Bathildis
Thank you, Larry. :D -- 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...@g

[Google Maps API v3] Re: Internal admin system - Need License??

2010-11-24 Thread Wear
This is super helpful, thanks Andrew. On Nov 24, 8:14 pm, Andrew Leach wrote: > On Nov 24, 9:46 am, Wear wrote: > > > > > - I have a supplier database of 100K records, all these data are > > pushed from an internal admin (content management with login) system > > where my internal staff can man

[Google Maps API v3] Re: Scaling markers with zoom

2010-11-24 Thread CroNiX
Do your markers need to be that big? You might also look into the MarkerClusterer. It won't scale your icons, but it will "group" icons that are touching until zoomed in far enough that they don't touch then they show up normally. On Nov 24, 5:13 pm, dbrb2 wrote: > From what I have read both he

[Google Maps API v3] Scaling markers with zoom

2010-11-24 Thread dbrb2
>From what I have read both here and elsewhere, this is not possible, save by looping through every marker when zoom level is changed - but just to check: Does anyone know of a way to scale markers as a user zooms in / out I have a map full of markers at http://cycleHire.eu/mobile that look fin

[Google Maps API v3] Overlaying the Polyline of a route with the completed portion of the route

2010-11-24 Thread Brent Taylor
I would like to overlay the Polyline of a route obtained by the Directions API with a second Polyline which shows the completed portion of that route based on a specified distance (geolocation information is not available). For example, if a user selects a route from Los Angeles to New York, I woul

[Google Maps API v3] Re: Centering map on each markers, one after the other

2010-11-24 Thread nordmograph
Thank you for having a look. Actually I tryed both setCenter and panTo methods, but none had any effects. I'm new to the v3 API and quite limited when it comes to Javascript @Rossoko, good to know, I'll increase the timer fire delay So here is the code I used (the map on the url provided shows

[Google Maps API v3] Re: Centering map on each markers, one after the other

2010-11-24 Thread CroNiX
Not sure if it would work, but you could try a panTo(marker) and maybe listen for the dragend event (this is the part Im not sure about because I don't know if this fires on a panTo event because the "user" isn't dragging the map) to fire off your next marker creation/panTo and so on. On Nov 24, 1

[Google Maps API v3] Re: Centering map on each markers, one after the other

2010-11-24 Thread Rossko
> http://www.retromundi.com/ It'll probably work better with a bit of slimming down? In FF2 I get a map that keeps recentering but no markers, I think is simply processing too much and there is no time for the browser to render map tiles, marker, infowindow ec. before the next event. -- You rece

Re: [Google Maps API v3] Re: Address instead of latLng

2010-11-24 Thread kevin simmons
Thank you so much for that, It worked perfectly. On Wed, Nov 24, 2010 at 3:17 PM, geocode...@gmail.com wrote: > On Nov 24, 3:41 pm, kevin simmons wrote: > > My expected results should be when you go to the page, it shows your > > location. It will get this information from my db. I will be addin

[Google Maps API v3] Re: Subclass google.maps.Marker: How to call parent methods?

2010-11-24 Thread Esa
> So far, zIndex doesn't seem to help me... Yes. This is tricky. The markers are created after labels in DOM though they are created before labels in the code. So you should set individual increasing z-index for each element like - first marker: 0 - its label: 1 - second marker: 2 - its label: 3

[Google Maps API v3] Re: Subclass google.maps.Marker: How to call parent methods?

2010-11-24 Thread geocode...@gmail.com
On Nov 24, 4:19 pm, Esa wrote: > Sorry, I forgot z-index. > > API sets the the z-index of the marker depending on latitude. You > cannot read that z-index value by getZindex (for some reason). It > returns 'undefined' unless you set the value yourself by setZindex(). > > My idea above assumes that

RE: [Google Maps API v3] Issue with Map Sizing, might be a CSS issue, but not sure.

2010-11-24 Thread Ralph Ames
>http://maps.jeradweiner.com/landuse.html Something like this might work. Land Use Map - Complete Streets Opportunites . Ralph - www.easypagez.com/maps/map_index.html www.easypagez.com/maps/v3_basicmap.html -- You

[Google Maps API v3] Re: Address instead of latLng

2010-11-24 Thread geocode...@gmail.com
On Nov 24, 3:41 pm, kevin simmons wrote: > My expected results should be when you go to the page, it shows your > location. It will get this information from my db. I will be adding a > little php to handle this. > I am not too familiar with jsp, so the following code might look stupid > but, I we

[Google Maps API v3] Re: InfoWindow not showing on polygon click

2010-11-24 Thread geocode...@gmail.com
On Nov 24, 3:08 pm, Adam Bengtson wrote: > Currently I have an overlay of all of the state borders, which I am > retrieving from a DB(mySQL) and drawing the polygons on to the map. Now > on click I would like info window to pop up. Here is the click listener: > > google.maps.event.addListener(poly

[Google Maps API v3] Re: custom marker anchor

2010-11-24 Thread dbrb2
Ah - got it! I was passing in the path to an image for the icon property, which worked, but what I ought to have done was pass in a MarkerImage object, with the anchor and origin set at that level! Fine now :-) -- You received this message because you are subscribed to the Google Groups "Googl

[Google Maps API v3] custom marker anchor

2010-11-24 Thread dbrb2
Hello - I have a circular icon(s), dimensions 90x90 I want to set the anchor to the centre of the circle, so have: var origin = new google.maps.Point(0,0); var anchor = new google.maps.Point(45,45); var size= new google.maps.Size(90,90); new google.maps.Marker( { position: latlng, map: map, t

[Google Maps API v3] Re: Subclass google.maps.Marker: How to call parent methods?

2010-11-24 Thread Canam Group
You're right about getZIndex(), it returns 'undefined' unless I specified something manually. Using overlayImage... ...I tried to manually set a zIndex of 1 to the markers and a zIndex of 1 to the labels and it doesn't change a thing, labels are still hidden behind markers (and obviously markers

Re: [Google Maps API v3] Re: Can you postion a marker using address information and not Lat/Long coordinates?

2010-11-24 Thread kevin simmons
Amber, I have been trying to do the same thing, have you had any success with this? If so could you please share any code you can that can help me. Any information here would be greatly appreciated. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScr

[Google Maps API v3] Re: Subclass google.maps.Marker: How to call parent methods?

2010-11-24 Thread Esa
Sorry, I forgot z-index. API sets the the z-index of the marker depending on latitude. You cannot read that z-index value by getZindex (for some reason). It returns 'undefined' unless you set the value yourself by setZindex(). My idea above assumes that marker and its label have equal z-index. Yo

[Google Maps API v3] Better auto-complete results?

2010-11-24 Thread trackie
I'm looking at this tutorial ( http://code.google.com/p/geo-autocomplete/ ) and got it working fine. You can see my results here : http://www.trackie.com/test-mapping/ BUT the results it returns isn't great. I am trying to make it work more like the auto-complete text box on http://maps.google.ca

[Google Maps API v3] Re: Subclass google.maps.Marker: How to call parent methods?

2010-11-24 Thread Canam Group
... but when I use overlayImage, all the labels are behind the markers (I updated my example). That's my only issue left... and I don't know what to do to solve this. Thanks, I appreciate your help! -- You received this message because you are subscribed to the Google Groups "Google Maps JavaS

Re: [Google Maps API v3] Re: Please take event.pixel to the documentation

2010-11-24 Thread Chris Broadfoot
Yes guys - please file a feature request on the issue tracker and star it. Cheers Chris On Thu, Nov 25, 2010 at 6:30 AM, Esa wrote: > > > On Nov 24, 8:03 pm, Pil wrote: > > event.pixel are the container coordinates of event.latLng. It's easy > > to use because no further translations are neces

[Google Maps API v3] Re: Subclass google.maps.Marker: How to call parent methods?

2010-11-24 Thread Esa
I think that overlayImage pane might fix that issue. So the labels and markers would lay on the same pane (div). Currently all the markers are behind all the labels. Your createMarker() first appends a marker and then the label on it. Second time createMarker is called a new marker would be layed

Re: [Google Maps API v3] Address instead of latLng

2010-11-24 Thread kevin simmons
My expected results should be when you go to the page, it shows your location. It will get this information from my db. I will be adding a little php to handle this. I am not too familiar with jsp, so the following code might look stupid but, I went to the link you sent me earlier in the day and tr

Re: [Google Maps API v3] Address instead of latLng

2010-11-24 Thread Barry Hunter
http://code.google.com/apis/maps/documentation/javascript/services.html#Geocoding But you shouldnt be geocoding a known address on every page load. On 24 November 2010 20:14, kevin simmons wrote: > I want to change it from latLng to address in the following code: > >   var geocoder; >   var map

[Google Maps API v3] Re: InfoWindow not showing on polygon click

2010-11-24 Thread Will Cadell
with out more context, my best guess is that I believe: infowindow.open(map, poly); should be : infowindow.open(map); cheers, w -- 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

[Google Maps API v3] Issue with Map Sizing, might be a CSS issue, but not sure.

2010-11-24 Thread Jerad
Hi, I am having trouble with my map sizing correctly on my page. I'm not an experienced coder which will be evident from looking at my source code. I've cobbled together this map by combining a few different example codes I've found online. The trouble I'm having is I would like the map to take

[Google Maps API v3] Address instead of latLng

2010-11-24 Thread kevin simmons
I want to change it from latLng to address in the following code: var geocoder; var map; function initialize() { geocoder = new google.maps.Geocoder(); var latlng = new google.maps.LatLng(-34.397, 150.644); var myOptions = { zoom: 8, center: latlng, mapTypeId: google.maps.MapTypeId.ROADMAP } But

[Google Maps API v3] Re: Subclass google.maps.Marker: How to call parent methods?

2010-11-24 Thread Canam Group
floatShadow did it! overlayImage displays the label behind the image, so I can't see it. I have only one more issue then. In my example above, I added three markers. The InfoWindow now display correctly when I click anywhere on the marker (thanks to you)... but all labels are stack on top of each

[Google Maps API v3] InfoWindow not showing on polygon click

2010-11-24 Thread Adam Bengtson
Currently I have an overlay of all of the state borders, which I am retrieving from a DB(mySQL) and drawing the polygons on to the map. Now on click I would like info window to pop up. Here is the click listener: google.maps.event.addListener(poly, "click", function(event){ alert('1'); var infowin

[Google Maps API v3] Centering map on each markers, one after the other

2010-11-24 Thread nordmograph
Hello I'm new to this group, and I really need your help. My v3 map shows markers dynamically, one after the other with a javascript timer It's almost perfect but I can't get it to center the map on each marker You can have a look at it on this page (middle of the page) http://www.retromundi.com/

[Google Maps API v3] Re: Subclass google.maps.Marker: How to call parent methods?

2010-11-24 Thread Esa
I think that example would work perfect if you try to append the label on a lower pane. Now the label is appended on floatPane (pane 6) that is above overlayMouseTarget (pane 5) that gathers clicks and mouseovers. Try floatShadow (pane 4) or overlayImage (pane 3). http://code.google.com/apis/maps

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

2010-11-24 Thread Will Cadell
If you are looking for markers of specific things like shops etc, perhaps you could use the (points of interest) POI bit of the API? i see there is a medical and a businesses POI. this would enable you to create a basemap of your features emphasised on a map. If you are looking to actually extract

[Google Maps API v3] Re: Please take event.pixel to the documentation

2010-11-24 Thread Esa
On Nov 24, 8:03 pm, Pil wrote: > event.pixel are the container coordinates of event.latLng. It's easy > to use because no further translations are necessary when this > coordinates are needed. OK, I realized the value of the property. Even 'mousemove' returns the event object with both of those

[Google Maps API v3] Re: Subclass google.maps.Marker: How to call parent methods?

2010-11-24 Thread Canam Group
Hi Esa, I did create one custom Overlay in the past (subclass of OverlayView) to display a tooltip over a marker, and the link your provided was one of the examples which I based my code upon. In fact, I did try to use a custom Overlay again to display a label on the marker... see my example here:

[Google Maps API v3] Re: Please take event.pixel to the documentation

2010-11-24 Thread adamkempa
Agreed, I'd star this. On Nov 24, 1:22 pm, "geocode...@gmail.com" wrote: > On Nov 24, 10:03 am, Pil wrote: > > > event.pixel are the container coordinates of event.latLng. It's easy > > to use because no further translations are necessary when this > > coordinates are needed. > > > Otherwise on

[Google Maps API v3] Re: Please take event.pixel to the documentation

2010-11-24 Thread geocode...@gmail.com
On Nov 24, 10:03 am, Pil wrote: > event.pixel are the container coordinates of event.latLng. It's easy > to use because no further translations are necessary when this > coordinates are needed. > > Otherwise one would have to translate event.latLng manually to pixel > coordinates using a method pr

[Google Maps API v3] Re: Loading KML a second time ignores preserveViewport

2010-11-24 Thread geocode...@gmail.com
On Nov 24, 9:34 am, Kevin wrote: > I am loading KML onto my map. I use preserveViewport to preserve the > bounds and zoom of the map. That works as expected. > After loading the KML, I set a timer that after a period of time, > reloads the same KML using preserveViewport again. This time the map's

[Google Maps API v3] Re: Please take event.pixel to the documentation

2010-11-24 Thread Pil
event.pixel are the container coordinates of event.latLng. It's easy to use because no further translations are necessary when this coordinates are needed. Otherwise one would have to translate event.latLng manually to pixel coordinates using a method provided by MapCanvasProjection. On Nov 24,

[Google Maps API v3] Re: Please take event.pixel to the documentation

2010-11-24 Thread Esa
I have understood that event.pixel is a Point representing pixel coordinates in map . Geographic location doesn't change the value. -- 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

[Google Maps API v3] Loading KML a second time ignores preserveViewport

2010-11-24 Thread Kevin
I am loading KML onto my map. I use preserveViewport to preserve the bounds and zoom of the map. That works as expected. After loading the KML, I set a timer that after a period of time, reloads the same KML using preserveViewport again. This time the map's view is changed to fit the contents of th

[Google Maps API v3] Re: Subclass google.maps.Marker: How to call parent methods?

2010-11-24 Thread Esa
On Nov 24, 5:38 pm, Canam Group wrote: > My question should be more "How to override the onAdd(), draw() and > onRemove() methods of google.maps.Maker?". Those are methods of OverlayView not of Marker, Polygon, Circle or any native overlays. http://koti.mbnet.fi/ojalesa/v3/v3_methods_nightly.ht

[Google Maps API v3] Re: Subclass google.maps.Marker: How to call parent methods?

2010-11-24 Thread Canam Group
My question should be more "How to override the onAdd(), draw() and onRemove() methods of google.maps.Maker?". I did a test with the "setTitle" method and my alert is displayed (and the parent method called): LabeledMarker.prototype.setTitle = function(title) { alert('setTitle'); google.maps.Marke

[Google Maps API v3] Subclass google.maps.Marker: How to call parent methods?

2010-11-24 Thread Canam Group
Hi, I'm trying to convert the very useful LabeledMarker class to Google Maps API V3: http://gmaps-utility-library-dev.googlecode.com/svn/tags/labeledmarker/ I used it in my V2 map... but I want something similar in my V3 map. I read Mike's article about extending GMarker: http://www.googlemapsboo

[Google Maps API v3] Re: How can I search an address to use a building name?

2010-11-24 Thread geocode...@gmail.com
On Nov 24, 4:57 am, "geocode...@gmail.com" wrote: > On Nov 24, 1:04 am, Bathildis wrote: > > > Android developer use 'getFromLocationName'. > > > How can I search an address to use a building name in JavaScript? You might investigate the Places API: http://code.google.com/apis/maps/documentation

[Google Maps API v3] Re: How can I search an address to use a building name?

2010-11-24 Thread geocode...@gmail.com
On Nov 24, 1:04 am, Bathildis wrote: > Android developer use 'getFromLocationName'. > > How can I search an address to use a building name in JavaScript? > > It supports only an address search? Yes. Geocoders only find geographic locations for addresses. Reverse geocoders find addresses from ge

[Google Maps API v3] Re: MarkerManager will not load

2010-11-24 Thread geocode...@gmail.com
On Nov 24, 12:08 am, ozgalosch wrote: > I am trying to implement the MarkerManager script, but it won't load. > The online examples works, it's just my setup at home/server that is > not. A reduced example can be found here: > > http://www.mip-map.se/archive/gmaps/markermanager.html I get a javas

RE: [Google Maps API v3] Re: MarkerManager will not load

2010-11-24 Thread Ralph Ames
>I updated the script to v3 on the server, but it still won't load... Try this, it worked ok for me var mgr = new MarkerManager(map); google.maps.event.addListener(mgr, 'loaded', function(){ var marker2 = new google.maps.Marker({position: latlng2}); mgr.addMarker(marker2,3,17); });

[Google Maps API v3] Re: Internal admin system - Need License??

2010-11-24 Thread Andrew Leach
On Nov 24, 9:46 am, Wear wrote: > > - I have a supplier database of 100K records, all these data are > pushed from an internal admin (content management with login) system > where my internal staff can manage the information to display > externally. I plan to geocode their address into Lat/Long in

[Google Maps API v3] Re: My new API key doesnt work, also my new location is updated on the web but not on my website

2010-11-24 Thread Andrew Leach
On Nov 24, 11:43 am, Mark Burland wrote: > Thanks for your quick reply. > > I had to hide that page as it was displaying the old location, here is the > page that contains the map > > http://www.amccomms.co.uk/content/view/46/133/ I don't get an error with that page, so everything is working. >

Re: [Google Maps API v3] Re: My new API key doesnt work, also my new location is updated on the web but not on my website

2010-11-24 Thread Mark Burland
Thanks for your quick reply. I had to hide that page as it was displaying the old location, here is the page that contains the map http://www.amccomms.co.uk/content/view/46/133/ if you Google us on the web our new location appears as it should do. The website address hasn't changed, I would lik

[Google Maps API v3] Re: My new API key doesnt work, also my new location is updated on the web but not on my website

2010-11-24 Thread Andrew Leach
On Nov 24, 11:33 am, Mark Burland wrote: > Hi, I'm trying to update my Google API map on my websitewww.amccomms.co.uk, > currently running V2. If you're currently running Version 2, then it's better to post to the Version 2 Group at http://groups.google.com/group/google-maps-api?hl=en_US Version

[Google Maps API v3] My new API key doesnt work, also my new location is updated on the web but not on my website

2010-11-24 Thread Mark Burland
Hi, I'm trying to update my Google API map on my website www.amccomms.co.uk, currently running V2. I generate a new key embed the script into my index.php, the browser then says this key does not work. I have already updated my new business location which displays fine on the web, but I now need

[Google Maps API v3] My new API key doesnt work, also my new location is updated on the web but not on my website

2010-11-24 Thread Mark Burland
Hi, I'm trying to update my Google API map on my website www.amccomms.co.uk, currently running V2. I generate a new key embed the script into my index.php, the browser then says this key does not work. I have already updated my new business location which displays fine on the web, but I now need

[Google Maps API v3] Grey box with controls in Street View

2010-11-24 Thread debernardis
Hello, I'm trying to learn how to use the javascript api and need a hint on a problem I encountered. By sticking together some api examples, I have written a page which shows a google map and it's related streetview, with the aim of using it on Nokia internet tablets (i.e. N900, N800 and N810) whi

[Google Maps API v3] Re: Map with Legend

2010-11-24 Thread Manuel Ibáñez
The legend does not have to be within the map, it may be outside on the HTML page as a button. I do not know how to do that when you press a button outside the map, a marker appear and others disappear. Thanks. -- You received this message because you are subscribed to the Google Groups "Goog

[Google Maps API v3] How can I search an address to use a building name?

2010-11-24 Thread Bathildis
Android developer use 'getFromLocationName'. How can I search an address to use a building name in JavaScript? It supports only an address search? Please, help me!! -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to t

[Google Maps API v3] Map with Legend

2010-11-24 Thread Manuel Ibáñez
Hi, I want to appear on my map legend, and when I check one I want to appear a few markers (visible = true) and markers disappear previously shown (visible = false) How could I do this? Thank you very much -- You received this message because you are subscribed to the Google Groups "Google Map

[Google Maps API v3] Internal admin system - Need License??

2010-11-24 Thread Wear
Hi, I am new to Google Map API. I just wanted to check if anyone knows that if the following implementations require Google Map Premier License? - I have a supplier database of 100K records, all these data are pushed from an internal admin (content management with login) system where my internal

[Google Maps API v3] Re: MarkerManager will not load

2010-11-24 Thread ozgalosch
I updated the script to v3 on the server, but it still wont load... -- 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, sen

Re: [Google Maps API v3] local search deprecated - now what do I do?

2010-11-24 Thread Chris Broadfoot
Check out the Places API: http://code.google.com/apis/maps/documentation/places/ On Wed, Nov 24, 2010 at 2:07 AM, tmays wrote: > Now that the local search api is deprecated what do I use? > > This example is exactly what I want to do: > http://gmaps-samples-v3.googlecode.com/svn/trunk/localsea

[Google Maps API v3] Re: MarkerManager will not load

2010-11-24 Thread Rossko
> http://www.mip-map.se/archive/gmaps/markermanager.html You are loading the version of MarkerManager for the v2 Maps API ; it won't work with v3. See http://google-maps-utility-library-v3.googlecode.com/svn/tags/markermanager/1.0/ -- You received this message because you are subscribed to the G

[Google Maps API v3] Re: MarkerManager will not load

2010-11-24 Thread ozgalosch
I am trying to implement the MarkerManager script, but it won't load. The online examples works, it's just my setup at home/server that is not. A reduced example can be found here: http://www.mip-map.se/archive/gmaps/markermanager.html -- You received this message because you are subscribed to t

[Google Maps API v3] Please take event.pixel to the documentation

2010-11-24 Thread Pil
As far as I see all event listeners that are returning the documented property event.latLng are also returning the undocumented property event.pixel. This seems a good idea because developers can often use this pixel value directly without translating the latlng coordinate via MapCanvasProjection