Re: [Google Maps API v3] Re: v3 markerClusterer

2010-07-08 Thread Luke Mahé
I've updated the MarkerClusterer to cluster on idle now, but the user experiences is a bit worse because it does the clustering when the user has finished dragging so they will notice the clustering happening. I could do something like cluster on bounds_changed if there is less than X markers wher

Re: [Google Maps API v3] Re: Help with overlays.

2010-07-08 Thread James McGill
Using FusionTablesLayer may also help. On Fri, Jul 9, 2010 at 1:55 AM, uno wrote: > you could use a Clusterer, e.g. > http://google-maps-utility-library-v3.googlecode.com/svn-history/r88/trunk/markerclusterer/examples/advanced_example.html > --u > > On 8 Jul., 14:39, Esther Ramos wrote: >> Hello

[Google Maps API v3] Google Maps OffLine in automotive GPS devices

2010-07-08 Thread Michel Magalhães
Hi! I'm need develop an GPS application in Windows CE plataform. The purpose is pass and position(latitude and longitude) and this application will show path between current position and end position. I have an gps automitive device runing Windows CE 5.0 without internet connection. Thanks --

[Google Maps API v3] Re: CID

2010-07-08 Thread William
On Jul 9, 12:14 pm, sthomps wrote: > Is there a way using the API to pass in a CID instead of lat/lng and > create a custom map? I think this will be possible in the near future with the Places API: http://code.google.com/apis/maps/documentation/places/#PlaceDetailsRequests ... -- You received

[Google Maps API v3] Re: "ghost" image when using scaledSize

2010-07-08 Thread William
do you know if the ghost image is visible in iPhone 3 or iPad? if you can make a test page which shows the error, then you could report it at http://code.google.com/p/gmaps-api-issues/issues/list iPhone 4 has twice the pixel density than iPhone 3 (960x480 instead of 480x320) so maybe it's somethi

[Google Maps API v3] CID

2010-07-08 Thread sthomps
Is there a way using the API to pass in a CID instead of lat/lng and create a custom map? -- 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 unsubscrib

[Google Maps API v3] Re: drop down menu

2010-07-08 Thread William
On Jun 25, 6:37 am, saarth shah wrote: > I have created my own custom controls and I know how to put the > mapControls into dropdown menu but is there a way that I can put my > custom controls into dropdown menu? what is the function of the custom controls? Is it the same as what Jeremy asked ab

[Google Maps API v3] Re: drop down menu

2010-07-08 Thread William
On Jul 9, 2:31 am, Jeremy M wrote: > > So how could I put that into the same drop-down menu? > That menu is for base map types, so you have to make the Topo layer into base map (not an overlay), and then add it when creating the menu: http://www.william-map.com/20100709/1/menu.htm ... -- You

Re: [Google Maps API v3] Re: v3 markerClusterer

2010-07-08 Thread Luke Mahé
I'll have a look into the MarkerClusterer and then also add a fix to the MarkerManager if it suits. -- Luke On Fri, Jul 9, 2010 at 8:49 AM, William wrote: > a similar issue was reported yesterday, where the V3 MarkerManager has > problems because it doesn't use bounds_changed, but I agree the

Re: [Google Maps API v3] Show marker on link click

2010-07-08 Thread Marc Ridey
You can change the visibility of a marker by calling: marker.setVisible(true); marker.setVisible(false); On Fri, Jul 9, 2010 at 7:51 AM, Chetan wrote: > Hi, > > I am creating markers with "visible: true" option. I want to show a > particular marker on link click. How I can do this. Please guide

[Google Maps API v3] Re: Show marker on link click

2010-07-08 Thread geocode...@gmail.com
On Jul 8, 2:51 pm, Chetan wrote: > Hi, > > I am creating markers with "visible: true" option. I want to show a > particular marker on link click. How I can do this. Please guide me on > this. > > Any help will be appreciated. Where is your map? What do you mean by "show a particular marker on lin

[Google Maps API v3] Print Maps?

2010-07-08 Thread sbentzen
I am having trouble printing my maps that have custom overlays and i have no idea why, could someone be of assistance? the URL is http://maps.cambriancollege.ca -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this gro

[Google Maps API v3] setOptions :: disableDefaultUI

2010-07-08 Thread Alex (Axle) Van Leyen
http://groups.google.com/group/google-maps-js-api-v3/msg/b60f31fa6b76d136?dmode=source In the above link, I noticed that disableDefaultUI was listed in the options that does not work with the setOptions method. I've been digging through the net to see if I could find a solution to the problem I'm

[Google Maps API v3] Re: drop down menu

2010-07-08 Thread Jeremy M
I think Saarth meant adding her new Custom Control's div into the standard control set that gets put into a drop-down menu when you invoke this in mapTypeControlOptions: google.maps.MapTypeControlStyle.DROPDOWN_MENU I've been trying to get that working as well, for a Topographical section. The c

[Google Maps API v3] Show marker on link click

2010-07-08 Thread Chetan
Hi, I am creating markers with "visible: true" option. I want to show a particular marker on link click. How I can do this. Please guide me on this. Any help will be appreciated. Thanks, Chetan -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScrip

[Google Maps API v3] Re: Showing a selection of polylines from feed

2010-07-08 Thread William
On Jul 8, 11:23 pm, Maarten wrote: > It works. I would like to zoom and center so each polyline is shown as > large as possible. I'm thinking of adding the latLng coordinates and > zoom level in the table and using setZoom() and setCenter(). Is this > the best option? I guess the other option is

[Google Maps API v3] Re: v3 markerClusterer

2010-07-08 Thread William
a similar issue was reported yesterday, where the V3 MarkerManager has problems because it doesn't use bounds_changed, but I agree the best solution is to use a combination of the bounds_changed and idle events. It would be good if the solution to this problem was used in both MarkerClusterer and

[Google Maps API v3] Re: KmlLayer won't show but gets loaded?

2010-07-08 Thread Joseph Elfelt
Things change Here is a kml file that (1) has 3 network links and (2) does *not* have tags. http://www.mappingsupport.com/forum_post/multiple_kml_files_04.kml I can read and display it on a map with v3 code just fine. Hooray! I was not looking forward to adding tags to my existing kml fil

[Google Maps API v3] Re: Visibility of markers depending on zoom level

2010-07-08 Thread geocode...@gmail.com
On Jul 8, 8:48 am, Trachy wrote: > Hello, > > Contrary to V2,  it seems not to be possible in V3 to make visibility > of markers depending on zoom level, in direct way (zoom level fixed > with .addmarker in V2). Sounds like a markermanager to me: http://groups.google.com/group/google-maps-js-api-

[Google Maps API v3] Re: Markers Taken from MySql DB

2010-07-08 Thread geocode...@gmail.com
On Jul 8, 8:59 am, fil wrote: > I've tryed some solutions and I have a new alert: > > I've modified the function named converti_indirizzo > > function converti_indirizzo(var1, var2) > { > if (geocoder) > { > geocoder.geocode( > {'address' : var1+' '+var2}, function (results, status) > { > if (stat

[Google Maps API v3] Re: Markers Taken from MySql DB

2010-07-08 Thread fil
I've tryed some solutions and I have a new alert: I've modified the function named converti_indirizzo function converti_indirizzo(var1, var2) { if (geocoder) { geocoder.geocode( {'address' : var1+' '+var2}, function (results, status) { if (status == google.maps.GeocoderStatus.OK) { var posizione

[Google Maps API v3] Re: Help with overlays.

2010-07-08 Thread uno
you could use a Clusterer, e.g. http://google-maps-utility-library-v3.googlecode.com/svn-history/r88/trunk/markerclusterer/examples/advanced_example.html --u On 8 Jul., 14:39, Esther Ramos wrote: > Hello, > I´m new in Javascript and also in Google Maps Api. > I have a database with thousands of p

[Google Maps API v3] Visibility of markers depending on zoom level

2010-07-08 Thread Trachy
Hello, Contrary to V2, it seems not to be possible in V3 to make visibility of markers depending on zoom level, in direct way (zoom level fixed with .addmarker in V2). Also I want to know if somebody has an other idea than to use "zoom_changed" event of the map to execute function which, for each

[Google Maps API v3] Re: Marker Mouseover events not firing or not firing at times

2010-07-08 Thread Rossko
> I can't.  I'm currently on a project where the product has not been > released and it's behind the firewall.  : ( You can post up a demonstrator, if it matters enough to you. All the excuses and workarounds are covered here http://groups.google.com/group/google-maps-api/web/why-including-a-link-

[Google Maps API v3] Re: Marker Mouseover events not firing or not firing at times

2010-07-08 Thread geocode...@gmail.com
On Jul 8, 8:33 am, CSharp wrote: > I can't.  I'm currently on a project where the product has not been > released and it's behind the firewall.  : ( Make a version that doesn't contain any proprietary information but shows the issue, get some free hosting, put it there and post that link here. T

[Google Maps API v3] Re: Google Maps v3 - Extracting data from .xml file

2010-07-08 Thread Trachy
Thanks I've used XMLHttpRequest Trachy On 8 juil, 01:36, Chad Killingsworth wrote: > Try looking at this > example:http://code.google.com/apis/maps/documentation/javascript/demogallery... > > Chad Killingsworth > > On Jul 7, 6:41 am,Trachy wrote: > > > > > Hello, > > > I try to convert my Goog

[Google Maps API v3] Re: Markers Taken from MySql DB

2010-07-08 Thread Rossko
> i don't have the information of lat and lng into the db, otherwise > i'll use it! This is why I pointed you to the example that shows how to geocode a set of addresses in your database, and store lat+long in your database alongside each address. You do it once ; this is much better both for you

[Google Maps API v3] Re: Marker Mouseover events not firing or not firing at times

2010-07-08 Thread CSharp
I can't. I'm currently on a project where the product has not been released and it's behind the firewall. : ( On Jul 7, 5:42 pm, Chad Killingsworth wrote: > Rather than posting your code here, please link to your actual site > with the map. Then we can look at it easily and either see the err

[Google Maps API v3] Re: Help with overlays.

2010-07-08 Thread Chad Killingsworth
Your best bet would be to use a KMLLayer. See http://code.google.com/apis/maps/documentation/javascript/overlays.html#KMLLayers Chad Killingsworth On Jul 8, 7:39 am, Esther Ramos wrote: > Hello, > I´m new in Javascript and also in Google Maps Api. > I have a database with thousands of points and

[Google Maps API v3] Re: Retrieve all markers inside a Circle

2010-07-08 Thread Shiota
Guess it isn't much different than calculating the distance... But I guess I'd have to iterate through every marker anyway. We found a solution here using a query in the back-end to do all the calculations, returning to the front-end via ajax only the markers within a given radius and center. On

[Google Maps API v3] Re: Polyline thickness and zoom

2010-07-08 Thread Enrico
Hi, i have a little problem but i think is a javascript knowledge problem: I normally use Java, so I think will be a good idea define an "object" like parallelPolyline that is a "child" of google.maps.polyline. I try to find how do something like "extends" in Java because i need only to add a para

[Google Maps API v3] Re: Markers Taken from MySql DB

2010-07-08 Thread fil
the map doesn't show anything! i don't have the information of lat and lng into the db, otherwise i'll use it! i try to put this part of code into the "converti_indirizzo" function var masticazzi = new google.maps.LatLng((posizione.lat()), (posizione.lng())); return masticazzi; but the result it

[Google Maps API v3] Re: Markers Taken from MySql DB

2010-07-08 Thread geocode...@gmail.com
On Jul 8, 9:44 am, fil wrote: > This is my code: > > downloadUrl("php_to_xml.php", function(data) > { > var xml = parseXml(data); > var markers = xml.documentElement.getElementsByTagName("marker"); > for (var i = 0; i < markers.length; i++) > { > var name = markers[i].getAttribute("Sigla"); > var

[Google Maps API v3] google.visualization url

2010-07-08 Thread panki j
I am using two urls in my map api to get data that are related. 1). query = new google.visualization.Query('state?url=http%3A%2F% 2Fhllsap52.in.u1609.unilever.com %3A8001%2Fsap%2Fbc%2Fbsp%2Fsap%2Fzqxml%2Fquery.xml%3Fquery%3Dyqunblm18_0002%26var_name_2%3DYMONTH%26var_operator_2%3DEQ%26var_sign_2%3DI

[Google Maps API v3] Re: Markers Taken from MySql DB

2010-07-08 Thread fil
This is my code: downloadUrl("php_to_xml.php", function(data) { var xml = parseXml(data); var markers = xml.documentElement.getElementsByTagName("marker"); for (var i = 0; i < markers.length; i++) { var name = markers[i].getAttribute("Sigla"); var address = markers[i].getAttribute("Indirizzo"); va

[Google Maps API v3] Re: Markers Taken from MySql DB

2010-07-08 Thread Rossko
> the example that you post, is for the v2 api: it requires a key. > > i am using the v3 apis. Read the example ; it doesn't use either javascript API at all. It uses the seperate HTTP geocoding web service. The geocoding service also comes in v2 and v3 versions. You can use the v2 geocoder (need

[Google Maps API v3] Re: Showing a selection of polylines from feed

2010-07-08 Thread Maarten
It works. I would like to zoom and center so each polyline is shown as large as possible. I'm thinking of adding the latLng coordinates and zoom level in the table and using setZoom() and setCenter(). Is this the best option? And what about styling? Can I give the polylines other colors and width?

[Google Maps API v3] Re: Markers Taken from MySql DB

2010-07-08 Thread geocode...@gmail.com
On Jul 8, 8:51 am, fil wrote: > the example that you post, is for the v2 api: it requires a key. > > i am using the v3 apis. > > other suggestions? That article works for v3. If not directly, you can translate any references. What is your question? How to get marker data from the database and

[Google Maps API v3] v3 markerClusterer

2010-07-08 Thread uno
hi, i've just started to dig into v3. seems i have to look for a replacement for Jef Poskanzer's clusterer, which i use with great success for 6k+ markers in v2. i've tried markerclusterer, which is also quite nice, but causes me 100% cpu while dragging a map with many markers. i've looked into

[Google Maps API v3] Help with overlays.

2010-07-08 Thread Esther Ramos
Hello, I´m new in Javascript and also in Google Maps Api. I have a database with thousands of points and their coordinates. I want to add some of this points to the map. Using markers is ok for few points but when I have more than one hundred the map takes a long time to load. I don´t know how can

[Google Maps API v3] Re: Markers Taken from MySql DB

2010-07-08 Thread fil
the example that you post, is for the v2 api: it requires a key. i am using the v3 apis. other suggestions? On 7 Lug, 11:46, Rossko wrote: > > yeah, i've seen both of them, but in those examples, you know the lat > > and the lng. > > I don't have this information in my DB, i try to use the geol

[Google Maps API v3] Re: Google maps in DIV setting display property to inline

2010-07-08 Thread Chad Killingsworth
I see the problem now. I assume you are setting both "display: inline" and "float: left" to handle the IE6 double margin bug? In either case, the solution is to trigger the resize event of the map. You'll notice if you resize your browser window slightly, the maps display properly. I would try som

[Google Maps API v3] Re: Showing a selection of polylines from feed

2010-07-08 Thread Maarten
Thanks! I'll take a look at the Fusion Table Layers, but it seems like a good solution. Will post any additional questions. -- 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.

[Google Maps API v3] Re: Polyline thickness and zoom

2010-07-08 Thread Enrico
The sample that i find is made using v2 of API. I want to try to rewrite it for v3 because i like the idea of an object child of parallel line but with the possibility to add an offset to paint like a parallel of other poly. I think to add something to change the thickness with the zoom. I will try

Re: [Google Maps API v3] Re: Polyline thickness and zoom

2010-07-08 Thread Ben Appleton
In traffic they use parallel lines, but these are rendered as image tiles by a server. I would be curious to see how fast parallel lines could be in javascript. You may want to try changing your polyline coordinates on map event zoom_changed. On 8 Jul 2010 19:38, "Enrico" wrote: > Thank you for

[Google Maps API v3] Re: Polyline thickness and zoom

2010-07-08 Thread Enrico
Thank you for your fast reply Ben, I think that the solution of black poly is easy but I try it in a small page that I have in local to pick the coords of polyline paths, and when I have a closest zoom the two lines are too far and not seem a two directions streets. furthermore if i use a large zo

Re: [Google Maps API v3] Polyline thickness and zoom

2010-07-08 Thread Ben Appleton
It sounds like you need your 2 Polylines to stay a minimum distance apart as you zoom out, so they don't merge into 1 line. A simple hack would be to render a thin opaque black Polyline down the middle of the road with a higher zIndex - that would divide the 2 Polylines. Another alternative would

[Google Maps API v3] Polyline thickness and zoom

2010-07-08 Thread Enrico
Hi, I start to play with API v3 and I have a conceptual problem: I need something like traffic overlay but with own data. Basically I need to print two line (one for every direction of a street) and dynamically change the color. The main problem is what can I use for this: polyline or polygons? -