Re: [Google Maps API v3] Can you change a Markers icon onDrag?

2010-06-02 Thread Thomas Hynard
Thanks. That is what I was after. On Wed, Jun 2, 2010 at 3:09 PM, Ben Appleton wrote: > On Wed, Jun 2, 2010 at 3:04 PM, Toemouse wrote: > > I wanted to change the icon for a markers whilst it is being dragged. > > Is this possible? > > Yes. You can change the marker's icon by calling > marker

[Google Maps API v3] Re: showing hybrid labels over other data...

2010-06-02 Thread William
Esa has a map that shows how it can be done http://koti.mbnet.fi/ojalesa/v3/osm_dual.htm and I used that technique for this map, but it uses direct tile access which isn't recommended: http://www.william-map.com/20100508/2/caffg.htm It would be possible with the new Styled maps if there's an opti

Re: [Google Maps API v3] showing hybrid labels over other data...

2010-06-02 Thread Ben Appleton
It's an interesting idea to provide the hybrid overlay layer as a separate MapType. We'll look into it. Please file a feature request if you'd like to track any progress on this: http://code.google.com/p/gmaps-api-issues/issues/list?can=2&q=apitype:Javascript3%20type:Enhancement&sort=-stars&colsp

Re: [Google Maps API v3] Streetview open event?

2010-06-02 Thread Marc Ridey
Monitor visible_changed on the panorama to know if the map has changed from map mode to StreetView mode. Monitor pano_changed or position_changed to check if the display in the panorama has changed. On Thu, Jun 3, 2010 at 5:30 AM, Gabriel Svennerberg wrote: > Is there any event that triggeres wh

Re: [Google Maps API v3] Re: Tracking map performance

2010-06-02 Thread Ben Appleton
Hi Nianwei, On Thu, Jun 3, 2010 at 1:27 AM, nianwei wrote: > Ben, >  What does KmlLayer (via image tile layer) mean for Enterprise > customers, if the KML server is not visible to Internet outside > firewall? Right - if Google cannot access your KML server, we cannot render your KML as image til

[Google Maps API v3] Re: Bug in pegman placement

2010-06-02 Thread Ben Appleton (Google Employee)
On Jun 2, 10:40 pm, archinform wrote: > Hi Google folks, > > many thanks for supporting streetview in v3 (with out flash!) > > There is just a little bug, if You place the navigation menue on the > right side (navigationControlOptions: > {position:google.maps.ControlPosition.RIGHT} > >  example:

Re: [Google Maps API v3] Re: FYI: Just updated version 3.1 (2010/06/02)

2010-06-02 Thread Ben Appleton
I confirm: if you do not specify a version, you get the latest like v=3 On 3 Jun 2010 06:19, "Miguel Angel Vilela" wrote: True, it was me who oversaw the lack of v parameter in the URL was the point of the question, sorry for that. I just tried it out and it seems the default behavior of http:

[Google Maps API v3] showing hybrid labels over other data...

2010-06-02 Thread Garthan
In version 2 of the API a frequent use was to use googles hybrid layer roads data independently of the satellite data... such as var labels = G_HYBRID_MAP.GetTileLayers()[1]; which would then be added in to a GTileLayerOverlay or a custom map type. http://www.microimages.com/geodata/tilesets/go

[Google Maps API v3] Re: Drawing GPolyLines on Bike Routes only?

2010-06-02 Thread Rossko
[Drawing GPolyLines on Bike Routes only?] > Is this possible using GPolyLines? Yes. Build your own database of bike routes and draw those. The Directions does support Bicycle directions in the USA http://code.google.com/apis/maps/documentation/javascript/services.html#TravelModes but that is

[Google Maps API v3] Re: Streetview open event?

2010-06-02 Thread SwitchShift
actually, this thread: http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/d5ea1399003b98e3 seems to indicate that there is a pano_changed event available that is not included in the API Reference, but I haven't tried it myself. On Jun 2, 3:30 pm, Gabriel Svennerberg wrote

Re: [Google Maps API v3] Re: FYI: Just updated version 3.1 (2010/06/02)

2010-06-02 Thread Miguel Angel Vilela
True, it was me who oversaw the lack of v parameter in the URL was the point of the question, sorry for that. I just tried it out and it seems the default behavior of http://maps.google.com/maps/api/js seems to be the same as with v=3, i.e. the latest version. On Wed, Jun 2, 2010 at 22:08, Marc G

[Google Maps API v3] Re: Streetview open event?

2010-06-02 Thread SwitchShift
In the javascript v2 api there is an "initialized" event that is triggered whenever new panorama rendering begins, but it looks like that isn't available in v3. You might just be able to loop infinitely and check whether the panorama.getVisible() is true, but that's a pretty ugly solution. On Jun

[Google Maps API v3] Drawing GPolyLines on Bike Routes only?

2010-06-02 Thread TheDude
Is this possible using GPolyLines? Is there a way to make return the type of terrain is being clicked on by the user? -- 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...@goo

Re: [Google Maps API v3] Re: FYI: Just updated version 3.1 (2010/06/02)

2010-06-02 Thread Marc Guay
To my mind, the versioning docs don't actually describe the default behavior of http://maps.google.com/maps/api/js they only describe parameters you can send to it to specify which version you want. Perhaps I've misunderstood something? -- You received this message because you are subscribed to

Re: [Google Maps API v3] Re: FYI: Just updated version 3.1 (2010/06/02)

2010-06-02 Thread Miguel Angel Vilela
Quoting the link below: * The current, development version, specified with v=3. This version reflects the latest version based off the trunk, including any bug fixes and new features as they are publicly released. Cheers, Miguel On Wed, Jun 2, 2010 at 21:43, en4ce wrote: > so

Re: [Google Maps API v3] Re: Search site and allow drag marker showing correct address

2010-06-02 Thread Miguel Angel Vilela
The following demo has nearly all you need: Google Maps API v3 Geocoder Tool http://gmaps-samples-v3.googlecode.com/svn/trunk/geocoder/v3-geocoder-tool.html 1. when you click anywhere, it reverse-geocodes that point 2. when you enter an address, it geocodes it If you make those markers draggable

[Google Maps API v3] Re: Search site and allow drag marker showing correct address

2010-06-02 Thread Jnew
Ok Thanks for the reply Miguel. But not yet succeeded. The google provides some example of this joint? Or is there any forum topic that has a nearby example of the code? Because I am not yet quite adapter or with google maps and I'm having trouble doing that. Thank you. On 2 jun, 05:09, Miguel A

[Google Maps API v3] Re: FYI: Just updated version 3.1 (2010/06/02)

2010-06-02 Thread en4ce
so

Re: [Google Maps API v3] Re: Maximo Zoom

2010-06-02 Thread Miguel Angel Vilela
He is asking for the getMaxZoomAtLatLng() function, which is not present in V2. Luis, that question has been answered already in this thread: http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/12cac3269e2d1960/dc9f2c947cc35c12 On Wed, Jun 2, 2010 at 21:24, en4ce wrote: >

[Google Maps API v3] Streetview open event?

2010-06-02 Thread Gabriel Svennerberg
Is there any event that triggeres when streetview is opened? I can't find any in the docs. Thanks, Gabriel -- 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.

[Google Maps API v3] Re: Maximo Zoom

2010-06-02 Thread en4ce
pardon ? why not just write in english? On Jun 2, 8:23 pm, LUIS TARZIA wrote: > Hola a todos,como se puede saber con la api 3 el maximo nivel de zoom > de una coordenada ? > Eso era muy bueno en la V2 que uno sabia hasta donde daba el zoom para > evitar el mensaje de "no tiled " cuando se sobrepa

[Google Maps API v3] Maximo Zoom

2010-06-02 Thread LUIS TARZIA
Hola a todos,como se puede saber con la api 3 el maximo nivel de zoom de una coordenada ? Eso era muy bueno en la V2 que uno sabia hasta donde daba el zoom para evitar el mensaje de "no tiled " cuando se sobrepasaba. No entiendo porque lo sacaron o donde esta. Gracias,. -- You received this messa

[Google Maps API v3] Re: Map does not load when I try to fix a closure problem

2010-06-02 Thread geocode...@gmail.com
On Jun 2, 10:29 am, "geocode...@gmail.com" wrote: > On Jun 2, 9:43 am, "geocode...@gmail.com" > wrote: > > > On Jun 2, 7:14 am, duffnut wrote: > > > > the version with the bug, but that does load can be found > > > herehttp://thefoodcycle.org/projects/(thesiteis WIP, and the address is > > > no

[Google Maps API v3] Re: How to do showMapBlowup in v3

2010-06-02 Thread Rossko
> In version 2 of the API, markers had a showMapBlowup method that would > show a mini map of the marker location. You'd typically set an event > handler to display it when the marker is clicked. I'd have thought you could adapt the 'overview' mini map in this example for the purpose, haven't trie

[Google Maps API v3] Re: How to Open a Map with address on JSP?

2010-06-02 Thread Guevara
Works Miguel! =) I'm using and I added the InfoWindow to: var infowindow = new google.maps.InfoWindow({ content: '${home.address}, ${home.title}, R$:${home.price} ' }); infowindow.open(map, marker); Than you!! \o/ On 2 jun, 05:05, Miguel Angel Vilela wrote: > Hi, > > You

[Google Maps API v3] Re: Load Google Maps v3 Dinamically

2010-06-02 Thread geocode...@gmail.com
On Jun 2, 8:11 am, "Koistya `Navin" wrote: > Here is an example of loading v2 dinamically but it doesn't work with > v3 > > http://gmaps-samples.googlecode.com/svn/trunk/dynamicloading/scriptap... > > Any ideas on how to load v3 dinamically? Does this help? http://code.google.com/apis/maps/docume

[Google Maps API v3] Re: Load Google Maps v3 Dinamically

2010-06-02 Thread Pil
Why do think it doesn't work? Seems to work perfectly in every browser. You can try it yourself. It's the same script as in your link but loading a v3 API map. http://www.wolfpil.de/scriptappend.html On Jun 2, 5:11 pm, "Koistya `Navin" wrote: > Here is an example of loading v2 dinamically b

[Google Maps API v3] Re: Street View de V2 -> V3

2010-06-02 Thread piep14
Merci beaucoup ;) On 2 juin, 11:24, Marc Ridey wrote: > Tu peux maintenant verifier si un panorama est disponible. > Essaie ce code: > > var streetViewLocation = new google.maps.LatLng(-33.867386, > 151.195767); > > var nearestLatLng = null; > var nearestPano = null; > var client = new google.map

[Google Maps API v3] Re: Map does not load when I try to fix a closure problem

2010-06-02 Thread geocode...@gmail.com
On Jun 2, 9:43 am, "geocode...@gmail.com" wrote: > On Jun 2, 7:14 am, duffnut wrote: > > > the version with the bug, but that does load can be found > > herehttp://thefoodcycle.org/projects/(thesite is WIP, and the address is > > not to be shared far and wide yet) > > You are not getting functio

[Google Maps API v3] Re: Map does not load when I try to fix a closure problem

2010-06-02 Thread geocode...@gmail.com
On Jun 2, 7:14 am, duffnut wrote: > the version with the bug, but that does load can be found > herehttp://thefoodcycle.org/projects/(the site is WIP, and the address is > not to be shared far and wide yet) You are not getting function closure on your infowindow variable (because there is no cre

[Google Maps API v3] Re: InfoWindow Loop retrieves only last element of Array

2010-06-02 Thread calibanter
Thanks Rossko. Yes, that's done the trick. I knew it was something like that. For the edification of anyone with a similar challenge, here is the working code. Thanks again.

[Google Maps API v3] Load Google Maps v3 Dinamically

2010-06-02 Thread Koistya `Navin
Here is an example of loading v2 dinamically but it doesn't work with v3 http://gmaps-samples.googlecode.com/svn/trunk/dynamicloading/scriptappend.html Any ideas on how to load v3 dinamically? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript

[Google Maps API v3] Re: Tracking map performance

2010-06-02 Thread nianwei
Ben, What does KmlLayer (via image tile layer) mean for Enterprise customers, if the KML server is not visible to Internet outside firewall? Also, the actual data must be pulled from the data source to one of the Google rendering server, so the size of the data can be a concern, (if more than just

[Google Maps API v3] Re: Map does not load when I try to fix a closure problem

2010-06-02 Thread duffnut
the version with the bug, but that does load can be found here http://thefoodcycle.org/projects/ (the site is WIP, and the address is not to be shared far and wide yet) and I've been looking at that example and this one http://code.google.com/apis/maps/documentation/javascript/examples/event-closu

Re: [Google Maps API v3] FYI: Just updated version 3.1 (2010/06/02)

2010-06-02 Thread Miguel Angel Vilela
Responses to your questions in-line below, but please check this out: Versioning http://code.google.com/apis/maps/documentation/javascript/basics.html#Versioning Cheers, Miguel On Wed, Jun 2, 2010 at 15:21, Marc Guay wrote: > > Note that version 3.0 has not changed. > > Which version am I usin

[Google Maps API v3] Re: FYI: Just updated version 3.1 (2010/06/02)

2010-06-02 Thread geocode...@gmail.com
On Jun 2, 6:21 am, Marc Guay wrote: > > Note that version 3.0 has not changed. > > Which version am I using if my include is:

Re: [Google Maps API v3] FYI: Just updated version 3.1 (2010/06/02)

2010-06-02 Thread Marc Guay
> Note that version 3.0 has not changed. Which version am I using if my include is:

[Google Maps API v3] Re: Map does not load when I try to fix a closure problem

2010-06-02 Thread geocode...@gmail.com
On Jun 2, 5:22 am, duffnut wrote: > I have the classic scenario of wanting multiple markers with different > info windows held in an array. > I was having a problem with closures (like this > guyhttp://groups.google.com/group/google-maps-js-api-v3/browse_thread/th...), > so I found examples and r

[Google Maps API v3] Map does not load when I try to fix a closure problem

2010-06-02 Thread duffnut
I have the classic scenario of wanting multiple markers with different info windows held in an array. I was having a problem with closures (like this guy http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/30b3f94096ae3e6b#), so I found examples and read up and tried to fix it

[Google Maps API v3] Bug in pegman placement

2010-06-02 Thread archinform
Hi Google folks, many thanks for supporting streetview in v3 (with out flash!) There is just a little bug, if You place the navigation menue on the right side (navigationControlOptions: {position:google.maps.ControlPosition.RIGHT} example: http://eng.archinform.net/projekte/9656.htm (open map/a

[Google Maps API v3] Re: How to apply border-radius css style to streetview pane

2010-06-02 Thread Miguel.camba
My app isn't online yet, so i cant provide a link. I know tha border-radius is not a standard yet, but by the way, not only IE supports it. All webkit-based browsers, like chrome or safari, acept it, even if they have their own -webkit-border-radius. Of couse, im using -moz-border-radius too. I kno

[Google Maps API v3] How to do showMapBlowup in v3

2010-06-02 Thread Chris Hunt
In version 2 of the API, markers had a showMapBlowup method that would show a mini map of the marker location. You'd typically set an event handler to display it when the marker is clicked. This method appears to be no longer present in v3, does anybody know how I'd achieve the same effect? -- Y

[Google Maps API v3] Re: there is no GOverviewMapControl() in the new version

2010-06-02 Thread duoduo
Thank you very much. On 6月2日, 午後4:52, Rossko wrote: > > I found that there is no [overViewMapControl ] in Google Maps > > JavaScript API v3. > > So,how to take the overView on the map like V2? > > Example found by searching this > grouphttp://koti.mbnet.fi/ojalesa/v3/overview_v3.htm -- You rec

[Google Maps API v3] Re: Street View de V2 -> V3

2010-06-02 Thread Marc Ridey
Tu peux maintenant verifier si un panorama est disponible. Essaie ce code: var streetViewLocation = new google.maps.LatLng(-33.867386, 151.195767); var nearestLatLng = null; var nearestPano = null; var client = new google.maps.StreetViewService(); client.getNearestPanorama(streetViewLocation, 50,

[Google Maps API v3] Re: Detect if streetvew is available for a point / getNearestPanoramaLatLng method

2010-06-02 Thread Marc Ridey
The StreetViewService has been released. Try this: var streetViewLocation = new google.maps.LatLng(-33.867386, 151.195767); var nearestLatLng = null; var nearestPano = null; var client = new google.maps.StreetViewService(); client.getNearestPanorama(streetViewLocation, 50, function(result, status

[Google Maps API v3] Re: Streetview - pov automatically pointing at marker

2010-06-02 Thread Marc Ridey
The new StreetViewService will help you do this: var streetViewLocation = new google.maps.LatLng(-33.867386, 151.195767); var nearestLatLng = null; var nearestPano = null; var client = new google.maps.StreetViewService(); client.getNearestPanorama(streetViewLocation, 50, function(result, status) {

Re: [Google Maps API v3] Search site and allow drag marker showing correct address

2010-06-02 Thread Miguel Angel Vilela
You need to do a few changes to map #1 to get it behave like #2: - onClick -> add a draggable marker (if none exists yet, so only first time) or move it there - when dragging that marker, update current position - when dropping that marker, reverse-geocode current position Cheers, Miguel On Wed,

Re: [Google Maps API v3] How to Open a Map with address on JSP?

2010-06-02 Thread Miguel Angel Vilela
Hi, You have no obligation to create the map before receiving the geocoding response, so you can do: var geocoder; var map; function initialize() { geocoder = new google.maps.Geocoder(); var address = document.getElementById("address").value; if (geocoder) { geocoder.geocode( { 'address': a

[Google Maps API v3] Re: there is no GOverviewMapControl() in the new version

2010-06-02 Thread Rossko
> I found that there is no [overViewMapControl ] in Google Maps > JavaScript API v3. > So,how to take the overView on the map like V2? Example found by searching this group http://koti.mbnet.fi/ojalesa/v3/overview_v3.htm -- You received this message because you are subscribed to the Google Group

[Google Maps API v3] Re: HYBRID gets roads but not satellite -- only in "webkit"

2010-06-02 Thread dajare
Nailed it! Thanks so much, William. It makes sense that it was CSS, but ... not enough caffeine I suppose! :) Solution MUCH appreciated! :) On Jun 1, 11:05 pm, William wrote: > there's a rule in the images.css which applies a background color ... > ... so try commenting out this line in the css:

[Google Maps API v3] Search site and allow drag marker showing correct address

2010-06-02 Thread Jnew
Allows you to search the site: http://code.google.com/intl/pt-BR/apis/maps/documentation/javascript/examples/geocoding-simple.html Drag and shows the local "Closest matching address:" http://gmaps-samples-v3.googlecode.com/svn/trunk/draggable-markers/draggable-markers.html How to join these two m