[Google Maps API v3] Re: V3 Polyline Problems

2010-07-23 Thread William
On Jul 23, 7:52 am, Albert Sun albert@wsj.com wrote: I'm seeing that bug in a project I'm working on ... Hi Albert, do you have any data that can provide a new test case? I think with more test cases there's a better chance of identifying all reasons for the bug. ... -- You received

[Google Maps API v3] Re: Clicking an onclick link in an infowindow also fires a map click

2010-07-23 Thread Pil
That's why I prefer my own event handlers and get rid of the API provided event handlers whenever possible. So the handlers work API and bug independent. Further: This pre-defined handlers are more flexible to use because they can be used during the capturing phase - when needed. So it's even

[Google Maps API v3] Re: MarkerCluster clickevent

2010-07-23 Thread Stefan Karlsson
Y that is awesome, exactly what I was looking for. Thank you very much for this, you saved my day. Stefan On 23 Juli, 07:37, Luke Mahé lu...@google.com wrote: Hey Stefan, This is possible, but I just updated the MarkerClusterer to make it easier :) (So download the latest version

[Google Maps API v3] Re: Javascript include php

2010-07-23 Thread Greg45
hi ralph, I already use this code, it's my base for my form when tthe user add marker. On 22 juil, 22:29, Ralph ralph.a...@gmail.com wrote: Try this tutorial:- http://code.google.com/apis/maps/articles/phpsqlinfo_v3.html It might give you ideas. Ralph On Jul 22, 5:03 pm, Greg45

[Google Maps API v3] Re: detecting changes to map style

2010-07-23 Thread luke
thanks, thats exactly what I needed. I'll check the documentation next time eh?! -- 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

[Google Maps API v3] Size of map in %s

2010-07-23 Thread karlh
Originally, I had my street view defined as width:500 and height:300. This displays well only on certain monitors. In order for my website to work on any size monitor, I have replaced the 'px' dimensions with '%' of either height and/or width. Everything seems to work OK, except the map. Is

[Google Maps API v3] How to build a legend

2010-07-23 Thread inotipiedideipitoni
Hi to everyone: I've create a basic map, and now I want to put a legend into a map, but I don't know how can I made it. Can someone post me a tutorial or a example to create a legend? bye -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3

[Google Maps API v3] Setting zIndex of a marker to absolute front

2010-07-23 Thread MacGoose
Hi! I have a bunch of markers that each represent a pingable object. They all have a neutral color. And when I ping them a reply colors them green and a timeout colors them red. As it is now neutral markers have an undefined zIndex letting the API handle that. And I set all green markers'

[Google Maps API v3] Re: bindTo - How do I link a marker position to the position of a polyline node?

2010-07-23 Thread Nianwei Liu
the final marker toggles the drawing mode, so a new vertex gets added before the start of the polyline. http://www.william-map.com/20100723/1/polyline.htm ... -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group

[Google Maps API v3] Re: Setting zIndex of a marker to absolute front

2010-07-23 Thread Chad Killingsworth
In other threads, we've used 999 to be on top of every marker. See http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/10fc4eb7f60fe7f6/f86126411f8bd3c7 Chad Killingsworth On Jul 23, 2:23 am, MacGoose espen.ruud.schu...@gmail.com wrote: Hi! I have a bunch of markers that

[Google Maps API v3] Re: Map with API v3 on Nokia N82 centers at 0,0

2010-07-23 Thread Chad Killingsworth
It works fine on my Android device and I'm guessing it will be just fine on my iPhone as well since there are no script errors on the page. Symbian based devices aren't a supported platform so it may just not be possible to make this work. Chad Killingsworth On Jul 21, 7:15 am, morinel

[Google Maps API v3] Re: How to customize path markers ?

2010-07-23 Thread Chad Killingsworth
I assume you are using a DirectionsRenderer object to display your results? (see this is where a link to your map helps) If so, then you can't. You can choose to manually render the DirectionsResponse object yourself in which case you have full control - and also full responsibility for all the

[Google Maps API v3] Re: Setting zIndex of a marker to absolute front

2010-07-23 Thread MacGoose
Thanx! But if anyone know how it is calculated I would like to know. Because as undefined the markers are on top of each other the correct way. But when setting all the markers to the same zIndex then it doesn't look as good - some markers are ontop of markers it should be behind. So what I

[Google Maps API v3] Re: GKeyboardHandler and GLargeMapControl

2010-07-23 Thread Chad Killingsworth
GKeyboardHandler doesn't exist in v3 - although it wouldn't be hard to implement. You would need to register a keyup event and call the appropriate map methods. The v3 equivalent of GLargeMapControl is the NavigationControl with a style of ZOOM_PAN. Chad Killingsworth On Jul 21, 6:17 pm, Simone

[Google Maps API v3] Re: KML search by text in Google Maps

2010-07-23 Thread Genti Qirjazi
With this javascript search i can show the result in a div But I want also to show the result in the map. For example: I have a kml file with buildings that have the name and the description. I want to search(by text) for school buildings in this kml file and show the result in the map. I any

[Google Maps API v3] 22 July release bug

2010-07-23 Thread kilkul
Hi there, Yesterday's release seems to have came with a (relatively big) bug: on mobiles (at least on iPhone), the map tiles don't load outside the current viewport, when the map is being dragged (that is, the area outside the initial visible map remain gray, with a question mark-like anchor for

[Google Maps API v3] Re: Smooth inertia map dragging

2010-07-23 Thread kilkul
I did: http://code.google.com/p/gmaps-api-issues/issues/detail?id=2592 Thanks! On Jun 6, 12:23 am, Chad Killingsworth chadkillingswo...@missouristate.edu wrote: It's not currently supported, but you can file a feature

[Google Maps API v3] Re: bindTo - How do I link a marker position to the position of a polyline node?

2010-07-23 Thread William
yeah that can all be done, but in the first instance I'm interested in finding the best design to enhance the MVCArray, in these kind of situations where V3 concepts aren't fully implemented compared to V2, for example another one is this thread which talks about problems with overlay management:

[Google Maps API v3] Re: KML search by text in Google Maps

2010-07-23 Thread Rossko
I have a kml file with buildings that have the name and the description. I want to search(by text) for school buildings in this kml file and show the result in the map. Here is a basic client-side KML parser for v3 API http://code.google.com/p/geoxml3/ The description is a bit out of date,

[Google Maps API v3] Re: Setting zIndex of a marker to absolute front

2010-07-23 Thread Rossko
So what I would like to do is calculate the undefined zIndex and add 999 so they look better. You could try the documented marker getZIndex method http://code.google.com/apis/maps/documentation/javascript/reference.html#Marker although others have said it doesn't seem to work, in the past

[Google Maps API v3] Re: Adding Map Service Overlay

2010-07-23 Thread Russ
Help...What happend to the reference script? url is undefined error Nothing working? Thanks Russ On Jul 1, 7:48 pm, William william.g...@gmail.com wrote: Russ, I made a copy of the demo page which has a direct reference to the google server js file:

[Google Maps API v3] Re: Adding Map Service Overlay

2010-07-23 Thread Rossko
Help...What happend to the reference script? url is undefined error Nothing working? Who knows. I wonder what URL you are trying to use? -- 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 API v3] Re: Render google maps link as polyline

2010-07-23 Thread geocode...@gmail.com
On Jul 22, 1:50 pm, Ashleigh labaumgard...@gmail.com wrote: I want to display a couple of routes on a map, but I would prefer to first draw them with google maps. For example, I got directions from Seattle to San Diego, then moved things a bit, and the link looks like this:

[Google Maps API v3] Plotting administrative districts

2010-07-23 Thread David Giglio
Is there a way to grab a list of all the coordinates of, say, all the administrative districts, within the displayed map bounds? Also, does google have polyline boundaries of cities available, or just a central point? The LA Times, for instance, has a really amazing (if not depressing)

[Google Maps API v3] Re: Plotting administrative districts

2010-07-23 Thread Rossko
Is there a way to grab a list of all the coordinates of, say, all the administrative districts, within the displayed map bounds? Yes, but not from Google Example http://www.census.gov/geo/www/cob/co2000.html The LA Times, for instance, has a really amazing (if not depressing) homicide map,

Re: [Google Maps API v3] Re: Adding Map Service Overlay

2010-07-23 Thread nianwei
Russ, Please use the following link to the script: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/arcgislink/src/arcgislink.js or a compressed copy at http://google-maps-utility-library-v3.googlecode.com/svn/trunk/arcgislink/src/arcgislink_compiled.js That copy is more stable.

Re: [Google Maps API v3] Re: Plotting administrative districts

2010-07-23 Thread David Giglio
ah, very cool. Thank you. On Jul 23, 2010, at 12:31 PM, Rossko wrote: Is there a way to grab a list of all the coordinates of, say, all the administrative districts, within the displayed map bounds? Yes, but not from Google Example http://www.census.gov/geo/www/cob/co2000.html The LA

[Google Maps API v3] Re: Adding Map Service Overlay

2010-07-23 Thread Russ
I'm sorry...This is the script tag reference: All day yesterday and this morning the url was down? script type=text/javascript src=http://gmaps-utility- gis.googlecode.com/svn/trunk/arcgislink/src/arcgislink.js/script I just checked at 12:35pm est and things now seems to be loading. Thanks to

[Google Maps API v3] Re: Adding Map Service Overlay

2010-07-23 Thread Russ
I surely will! Thank you for your help once again. I would like to share my development site with others but I'm within a network. On Jul 23, 12:36 pm, nianwei nian...@gmail.com wrote: Russ,  Please use the following link to the

[Google Maps API v3] Re: Size of map in %s

2010-07-23 Thread karlh
Many thanks. Will try and advise On Jul 23, 12:47 pm, Chad Killingsworth chadkillingswo...@missouristate.edu wrote: Look here (under the dynamic map height heading)http://blogs.missouristate.edu/web/2010/05/12/google-maps-api-v3-deve... Chad Killingsworth On Jul 23, 3:44 am, karlh

[Google Maps API v3] Re: Size of map in %s

2010-07-23 Thread karlh
Thanks... update: Perhaps I should let you have the URL where this occurs. It is the Street View, which does not expand in the relation to the width/ height of the monitor: www.portobelloroad.org.uk thanks Karl On Jul 23, 12:47 pm, Chad Killingsworth chadkillingswo...@missouristate.edu wrote:

[Google Maps API v3] Re: Show/Hide Overlays

2010-07-23 Thread Kesuke
Thanks for taking the time to create that Jason, it has been very helpful! I've got it working and now just have two questions; 1.) On your version the overlays are unchecked/not shown by default. Any ideas about how this could be tweaked to have some layers switched on at load. 2.) Linking into

[Google Maps API v3] Re: Size of map in %s

2010-07-23 Thread Kesuke
I use something like this code on my map to handle resize events, it will probably need modification to achieve the exact results you want but the concept is applicable; // when the broswer is resized trigger function window.onresize = function(){ // find the center of the map (see why

[Google Maps API v3] Re: V3 Polyline Problems

2010-07-23 Thread William
On Jul 24, 3:10 am, Albert Sun albert@wsj.com wrote: Look at http://graphicsweb.wsj.com/documents/MARATHONS2010/info-MARATHONS2010... Looking at the San Francisco map, zoom in once towards the Golden Gate bridge. The path north of a certain point on the bridge disappears. thanks Albert I

Re: [Google Maps API v3] Re: 22 July release bug

2010-07-23 Thread Ben Appleton
LGTM on Android: http://code.google.com/apis/maps/documentation/javascript/examples/map-simple.html Has anyone else seen this issue? On 23 Jul 2010 23:34, kilkul kil...@gmail.com wrote: I've opened a bug report on this issue: http://code.google.com/p/gmaps-api-issues/issues/detail?id=2593 I

[Google Maps API v3] Re: V3 Polyline Problems

2010-07-23 Thread William
On Jul 24, 3:10 am, Albert Sun albert@wsj.com wrote: Looking at the San Francisco map, zoom in once towards the Golden Gate bridge. The path north of a certain point on the bridge disappears. your map has 3 versions of the marathon path: 1. the full points version, 2. the simplified

[Google Maps API v3] It works but I think I have 2 extra lines of code!

2010-07-23 Thread slindsey3000
This works in my app but I know it can be cleaned up. I am just not sure how to do it. I kind of (well totally) rigged this javascript from examples on the API page. It works... but it does not need to do the *HERE IT IS* part. I can't take out this stuff because it uses this to build needed

[Google Maps API v3] [ASK] Draggable markers in v3 !

2010-07-23 Thread digitak
Hi there, How to make draggable markers in API v3 have bounce effect like API V2 ? -- 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

[Google Maps API v3] Marker Options - Title with Foreign Language Characters

2010-07-23 Thread Team Fauna
Hi everyone, we're new to the group and would like to have a good start here. We've encountered a problem while creating a marker object. var marker = new google.maps.Marker({ position: myLatLng, map:

[Google Maps API v3] StreetViewPanorama setVisible bug (with link)

2010-07-23 Thread Mel
Okay - I felt bad about not including a link demonstrating the bug so I made one: http://pennyauctionsplus.com/tmp/debug.html I would have posted in the same discussion but I can't seem to find it displayed yet... :P -- You received this message because you are subscribed to the Google Groups

[Google Maps API v3] Drawing lines with arrowheads or other directional indicator

2010-07-23 Thread rberman
I have a map on which I place a number of markers. Pairs of markers then have straight lines drawn between them, and I must indicate a direction for the line. I would prefer to use an arrowhead, but any other solution that will correctly indicate the direction would be fine. I want ot stress this

[Google Maps API v3] StreetViewPanorama setVisible bug

2010-07-23 Thread Mel
In the following code: div id=sview style=width:100%; height:100%/div script type=text/javascript var initialLocation = new google.maps.LatLng(40.760779, -111.891047); //Salt Lake City var sview = new google.maps.StreetViewPanorama(document.getElementById(sview), { position:

[Google Maps API v3] Streetview

2010-07-23 Thread 1 1
Has anybody placed a picture overlay in the streetview panoramas so that the placed picture moves in a 3d fashion much like the zoom panels? Is there a way to control this in a fine manner so that pictures can be overlaid precisely? -- You received this message because you are subscribed to the

[Google Maps API v3] Problem with opacity for ImageMapType in Internet Explorer (IE)

2010-07-23 Thread Adam Willden
Hi, This is my first messsage on the group. I'm moving to V3 but have run into a problem with opacity for ImageMapType in internet explorer. It works fine in firefox but not in IE. I've searched the group and looked online but not found any mention if it being as such. I know opacity for

[Google Maps API v3] best way to cancel a drag move

2010-07-23 Thread Mike
I have some markers on my map that users can move around. However, i'd like to give them the ability to cancel the move, (based on the dragend event) to cancel the move, and reposition the icon back to where it was. I can get the alerts and dialog boxes, but I didn't see on the event, what the

[Google Maps API v3] How to route via many waypoints?

2010-07-23 Thread Mario
Hi all, I want to build an application where GPS data is tracked using an Adroid phone, stored on a database and a route following all these coordinates is later displayed on the web. Now, I have seen the limitation of the DirectionsService causing a MAX_WAYPOINTS_EXCEEDED status error, so this

[Google Maps API v3] how to close all InfoWindow before opening new infowindow?

2010-07-23 Thread sudhakar Kanniyan
I have hyperlink out of google map. Where user do mouse over the hyperlink and infowindows opens in google map. It works fine for me but When I apply same for more than one hyperlink in a page, It keep opening infowindow in google map for earch hyperlink . I want all the infowindow to be closed

[Google Maps API v3] tile loading events

2010-07-23 Thread Mike
I'm looking at displaying data on the google maps, and have hooded into the tile loaded event, to make an ajax call to get data from my server to display on the map. However, I haven't been able to find a way to only pull back only the data from my server based on the loaded tile(s), not based on

[Google Maps API v3] how to parse out lat/lng from geocoder results question

2010-07-23 Thread DMacLeod
I'm receiving lat/lon from geocoder via var coords = results[0].geometry.location; (example: (27.345, -80.678) I'm trying to parse out the lat and lon by doing a javascript slice function. However this does not work. So, I figured I could do something like: var lat =

[Google Maps API v3] info window custom close button

2010-07-23 Thread alagar
Sorry for my English. I need custom buttons in infoWindow. var map; var infoWindow; function initialize() { var latlng = new google.maps.LatLng(47.030698, 28.850098); var myOptions = { zoom : 15, center : latlng,

RE: [Google Maps API v3] Problem with opacity for ImageMapType in Internet Explorer (IE)

2010-07-23 Thread Ralph Ames
This is my first messsage on the group. I'm moving to V3 but have run into a problem with opacity for ImageMapType in internet explorer. It works fine in firefox but not in IE. Can you post a link to your map. Ralph -- You received this message because you are subscribed to the Google Groups

[Google Maps API v3] Re: StreetViewPanorama setVisible bug

2010-07-23 Thread Mel
Here is a link that demonstrates the bug: http://pennyauctionsplus.com/tmp/debug.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

[Google Maps API v3] Add event to array of markers

2010-07-23 Thread LUIS TARZIA
Hello,i emulate the enabledrawing of polyline of v2. I generate markers and push into an array,set visibkle and colors ok. I need to asign the event drag to array of markers for intercept the drag of anywhere of then. Is possible ??? Thanks in advance. -- You received this message because you

[Google Maps API v3] Re: StreetViewPanorama setVisible bug (with link)

2010-07-23 Thread Mel
This post can be closed as it duplicates http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/b3a95fdbf5efc8be# -- 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

RE: [Google Maps API v3] Drawing lines with arrowheads or other directional indicator

2010-07-23 Thread Ralph Ames
I have a map on which I place a number of markers. Pairs of markers then have straight lines drawn between them, and I must indicate a direction for the line. I would prefer to use an arrowhead, but any other solution that will correctly indicate the direction would be fine. Try Mikes' (V2)

Re: [Google Maps API v3] tile loading events

2010-07-23 Thread Ben Appleton
Consider implementing MapType - then you can load your data as logical 'tiles'. This ensures you only load content once, and the requests to your server cache well between site visitors. On 24 Jul 2010 11:23, Mike m...@thehedmans.net wrote: I'm looking at displaying data on the google maps, and

[Google Maps API v3] Re: It works but I think I have 2 extra lines of code!

2010-07-23 Thread Kesuke
You fundamentally need the part you don't want especially map = new google.maps.Map(document.getElementById(map_canvas), myOptions); That line effectively creates the map and connects it to the target div (#map_canvas). Then your later statements feed into it to tell it more precisely what you

[Google Maps API v3] Re: It works but I think I have 2 extra lines of code!

2010-07-23 Thread William
On Jul 24, 10:38 am, slindsey3000 slindsey3...@gmail.com wrote: Any cleanup suggestions?   Thanks!! maybe create the map only once you know the geocode? function initialize() { geocoder = new google.maps.Geocoder(); var address = 10 Downing St,London,UK; geocoder.geocode( {

[Google Maps API v3] Re: Show/Hide Overlays

2010-07-23 Thread William
On Jul 22, 10:28 am, Kesuke nick_dai...@hotmail.com wrote: There are some specific situations where toggling a single checkbox needs to show/hide more than one layer (because there are a few situations where an individual object like a muscle actually has to be made from two layers so that a

[Google Maps API v3] Re: StreetViewPanorama setVisible bug

2010-07-23 Thread William
On Jul 24, 7:38 am, Mel melman2...@gmail.com wrote: sview.setVisible(true); //Panorama is properly displayed ... sview.setVisible(false); //Panorama disappears properly ... sview.setVisible(true);  //Panorama is...still disappeared! yeah I see it with your test map, and even though the