[Google Maps API v3] Are complex UI & MVC events possible with Async XML?

2011-01-03 Thread Same dude
So I've got a working version 3 googlemap working that loads its data (markers) from xml using an asynchronous jquery call. Lets say I have a bunch of markers that are added to the map, but I only want to show the markers if your zoomed in to a certain point on the map. I would normally handl

[Google Maps API v3] Re: Trying to to get php generated xml output to display in google maps v3

2011-01-03 Thread geocode...@gmail.com
On Jan 3, 9:14 pm, Yash Kothari wrote: > > This is what i'm getting. Although when i do that sometimes it gives me a > blank page but the xml shows up in view source option. Does that happen > because of some coding error on my part? I don't know. I can't tell with a picture. > > or do u mean my

[Google Maps API v3] Re: Trying to to get php generated xml output to display in google maps v3

2011-01-03 Thread Yash Kothari
http://img20.imageshack.us/img20/6827/16195573.png This is what i'm getting. Although when i do that sometimes it gives me a blank page but the xml shows up in view source option. Does that happen because of some coding error on my part? or do u mean my xml tree structure is wrong? am i suppos

Re: [Google Maps API v3] Fetching lat Lng

2011-01-03 Thread Chris Broadfoot
Sorry - ignore. I see you re-posted with a better title in another thread. :) As Larry says, post a full link. On Tue, Jan 4, 2011 at 2:28 PM, Chris Broadfoot wrote: > setCenter expects a google.maps.LatLng object. > > You'll need to convert from whatever structure your JSON is in to a LatLng >

Re: [Google Maps API v3] Re: Google Maps JavaScript API v3 wont show on my ipad

2011-01-03 Thread Chris Broadfoot
Doesn't seem to work for me in Chrome either. My guess is a issue with webkit. Try setting a height in a unit other than percent. My guess is the container of the map_canvas div has no height. change: #map_canvas { height: 75% } to #map_canvas { height: 400px } Chris On Tue, Jan 4, 2011 at 2:4

Re: [Google Maps API v3] Re: Google Maps JavaScript API v3 wont show on my ipad

2011-01-03 Thread Mike Carlyon
Here is a link. http://www.miracleparkplace.com/index/pinMAPgallery.htm It works in IE8 and firefox but it doesnt seem to work in safari (ipad). and when I add the info window code the map stops working in everything. On Mon, Jan 3, 2011 at 5:16 PM, geocode...@gmail.com wrote: > On Jan 3, 2:56 p

[Google Maps API v3] Re: Unable to display kml file in Google Maps V3 API

2011-01-03 Thread geocode...@gmail.com
On Jan 3, 6:22 pm, Ching-wah Mok wrote: > Dear James, > > Those KML files which I wanted to publish were corporate sensitive KML data > are expected to be restricted to some user groups within the Intranet.   > Then, it means that I cannot use this way to publish them to google maps V3 > api.  Of

Re: [Google Maps API v3] Fetching lat Lng

2011-01-03 Thread Chris Broadfoot
setCenter expects a google.maps.LatLng object. You'll need to convert from whatever structure your JSON is in to a LatLng object. Check the docs: http://code.google.com/apis/maps/documentation/javascript/reference.html#LatLng Chris On Tue, Jan 4, 2011 at 4:30 AM, mapseeker wrote: > I am tryin

Re: [Google Maps API v3] Unable to display kml file in Google Maps V3 API

2011-01-03 Thread Ching-wah Mok
Dear James, Those KML files which I wanted to publish were corporate sensitive KML data are expected to be restricted to some user groups within the Intranet. Then, it means that I cannot use this way to publish them to google maps V3 api. Of course, my future plan is to deliver those kml fi

[Google Maps API v3] Re: How to mimic GScreenOverlay in V3?

2011-01-03 Thread sam
Thank you, Larry. I now have the KML crosshairs working, but there is still a small problem. The crosshairs block mouse events from reaching the map. If a user tries to drag the map when their cursor is over the crosshairs, it won't work. If I could capture and forward the drag to the map, I gu

Re: [Google Maps API v3] Unable to display kml file in Google Maps V3 API

2011-01-03 Thread James McGill
No, this is not sufficient. I cannot access http://wisdom from my machine, therefore it is not on the public Internet. I suggest uploading your file to a free web host (AppEngine or similar works for me) Google Earth has different limitations to the Google Maps API. Regards, James On Tue, Jan 4,

Re: [Google Maps API v3] Unable to display kml file in Google Maps V3 API

2011-01-03 Thread Ching-wah Mok
Dear James, I tried to use http://wisdom /google/egis/geodata/cta.kml where wisdom is the local web service accessible by the Intranet, the geometries were not displayed. However, I used google earth v2 api code as follow, it worked. Code: ... ge.getView().setAbstractView(la); google

Re: [Google Maps API v3] Unable to display kml file in Google Maps V3 API

2011-01-03 Thread James McGill
Your KML file must be accessible on the public Internet - that is, it must be accessible to any machine which is connected to the internet. As a rule, http://localhost is not accessible to the public Internet - only to your local machine. Regards, James -- You received this message because you a

[Google Maps API v3] Unable to display kml file in Google Maps V3 API

2011-01-03 Thread Ching-wah Mok
Can any Google Map experts tell me what is wrong to my code related the standard sample from Google Maps V3 (layer-kml.html)? As I downloaded the related kml file (cta.kml) from gmaps-samples.googlecode.com into my local website virtual directory and change my code as follows, I was unable to

[Google Maps API v3] Re: Lots of directions like 20000 in one map

2011-01-03 Thread Rossko
What exactly do you expect the user to see, when you have drawn 20,000 squiggly lines on one map? It will take some time, at the rate the free API allows it would take about ten days. The user may not wait that long. I think you may need to have a think about strategy before buying any services.

[Google Maps API v3] Re: Google Maps JavaScript API v3 wont show on my ipad

2011-01-03 Thread geocode...@gmail.com
On Jan 3, 2:56 pm, BMC wrote: > I am trying to set up an api map v3 on my company's webpage but i > can't get it to come up on our ipad. > Is it true that you no longer need a key on the v3? Yes that is true, no key is required for v3. > This is just the base map that i want to build from, addin

[Google Maps API v3] Re: Trying to to get php generated xml output to display in google maps v3

2011-01-03 Thread geocode...@gmail.com
On Jan 3, 2:40 pm, Yash Kothari wrote: > http://ykothari.pbworks.com/f/doc_test.html > > Would a link such as the above be good enough or do i need an actual > personal website? You don't need a personal website, any public map that exhibits the problem is good enough. However, that website does

[Google Maps API v3] Re: Trying to to get php generated xml output to display in google maps v3

2011-01-03 Thread Yash Kothari
http://ykothari.pbworks.com/f/doc_test.html Would a link such as the above be good enough or do i need an actual personal website? -- 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-map

[Google Maps API v3] Re: Lots of directions like 20000 in one map

2011-01-03 Thread sandy037
I am using the JavaScript API V3 Directions Service so I am not storing everything in a cache. I am using C# and SQL Server and what I am actually doing is enabling a user to select any two points to lay a direction and store the pair of points in a database. On page load, I am using all the pairs

[Google Maps API v3] Re: Fetching lat Lng

2011-01-03 Thread geocode...@gmail.com
On Jan 3, 9:30 am, mapseeker wrote: > I am trying to fetch the latitude longitude from the geometry.location Is that part of the Google Map Javascript API v3? I don't think any geolocation is currently included. But it sounds a lot like this problem: http://groups.google.com/group/google-maps-j

[Google Maps API v3] Re: extracting latitude longitude from geocoding object

2011-01-03 Thread geocode...@gmail.com
On Jan 3, 9:08 am, domnic James wrote: > Hi, >   I am trying to extract the latitude longitude from the JSON object > via javascript.. is there any possible way of extracting the > coordinates.. I am able to display the lat ,lng as an alert on the > screen but I need to return it as a string.. her

[Google Maps API v3] Re: Must submit twice in FF 3.6.13

2011-01-03 Thread geocode...@gmail.com
On Jan 3, 6:34 am, Metroid wrote: > Hello, > > I have a problem with Geocoder. Bummer. Could you follow the posting guidelines and provide a link so we can see for ourselves? > I must click twice a input button that has a onclick statement. > In IE8 i get the results direct back from google.map

[Google Maps API v3] Re: Lots of directions like 20000 in one map

2011-01-03 Thread geocode...@gmail.com
On Jan 3, 6:52 am, sandy037 wrote: > Hi all, > > I am currently working on google map javascript v3. I want to load > several directions on the map using lat and lng values from a > database. My problem is concerned with the speed with which this > processing takes place. The map might potentially

[Google Maps API v3] Re: Trying to to get php generated xml output to display in google maps v3

2011-01-03 Thread geocode...@gmail.com
On Jan 3, 12:21 pm, Yash Kothari wrote: > Hello, > I've seen various topics about this same issue and i tried following the > instructions shown in them but i have been able to solve my problem. > > I have a php script that is generating xml and i want to feed this xml data > into google maps. > S

[Google Maps API v3] extracting latitude longitude from geocoding object

2011-01-03 Thread domnic James
Hi, I am trying to extract the latitude longitude from the JSON object via javascript.. is there any possible way of extracting the coordinates.. I am able to display the lat ,lng as an alert on the screen but I need to return it as a string.. here is the code snippet which works map.setCenter(

[Google Maps API v3] Fetching lat Lng

2011-01-03 Thread mapseeker
I am trying to fetch the latitude longitude from the geometry.location Node in the JSON object via javascript. I am able to display this coordinate as an alert message. however i am trying to retrieve these coordinates as string in a javascript function. a sample snippet map.setCenter(results[0

[Google Maps API v3] Must submit twice in FF 3.6.13

2011-01-03 Thread Metroid
Hello, I have a problem with Geocoder. I must click twice a input button that has a onclick statement. In IE8 i get the results direct back from google.maps.Geocoder but in FF or on mobile divices I must click this button twice. I use a seperate .js file for javascript. [CODE] // JavaScript Docum

[Google Maps API v3] Lots of directions like 20000 in one map

2011-01-03 Thread sandy037
Hi all, I am currently working on google map javascript v3. I want to load several directions on the map using lat and lng values from a database. My problem is concerned with the speed with which this processing takes place. The map might potentially contain 20,000 directions to be loaded and may

[Google Maps API v3] Re: How to mimic GScreenOverlay in V3?

2011-01-03 Thread geocode...@gmail.com
On Jan 3, 11:39 am, sam wrote: > I have an app that uses V2 of the API (http://www.treksee.com). I'd like to > upgrade to V3. > > In the center of the map I display a crosshair. This is implemented with the > GScreenOverlay object. The crosshair is fixed in the center of the viewport > and allows

[Google Maps API v3] Re: markermanager undefined

2011-01-03 Thread geocode...@gmail.com
On Jan 3, 11:26 am, Nico Oudshoorn wrote: > I copied these two statements from your exanmples and get markermanager > undefined? What do I do wrong or what has to be defined more? You missed the one to include the markermanager code itself (it is an external javascript file, similar to the API in

[Google Maps API v3] How to mimic GScreenOverlay in V3?

2011-01-03 Thread sam
I have an app that uses V2 of the API (http://www.treksee.com). I'd like to upgrade to V3. In the center of the map I display a crosshair. This is implemented with the GScreenOverlay object. The crosshair is fixed in the center of the viewport and allows mouse events through to the underlying m

[Google Maps API v3] markermanager undefined

2011-01-03 Thread Nico Oudshoorn
I copied these two statements from your exanmples and get markermanager undefined? What do I do wrong or what has to be defined more? var mgrOptions = { borderPadding: 50, maxZoom: 15, trackMarkers: true }; var vindallmarkers = new MarkerManager(map, mgrOptions); Regards, Nico. -- You receiv

[Google Maps API v3] Re: Reading xml data source from within Google Sites Gadget

2011-01-03 Thread Gretchen
I have heard that IFrames are a way to access XML from another domain. Unfortunately, I have yet to locate an example. I might just switch my XML to KML layers. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this g

[Google Maps API v3] Re: Ginfowindowtab

2011-01-03 Thread Nianwei Liu
Try the infoBubble lib by Luke M in the util collection. http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/examples/example.html if you do not want to load the lib during init time to save start up time, consider delayed/on-demand loading: http://google-maps-utility-libra

[Google Maps API v3] Re: How to convert x,y to lat, lng?

2011-01-03 Thread geocode...@gmail.com
On Jan 3, 8:46 am, tinem wrote: > Think it's used > > European 1950 (Denmark) >     System 34, Jylland > > Can you tell me exactly what to do to maybe just convert one at a time > to WGS84 so I can test it, please? 1. Search the web for tools/algorithms to convert European 1950 (Denmark) System

[Google Maps API v3] Re: Reading xml data source from within Google Sites Gadget

2011-01-03 Thread geocode...@gmail.com
On Jan 3, 8:39 am, Gretchen wrote: > It's odd because I was able to get KML files to work and aren't they > essentially XML? It depends on where they are being parsed. If you are using KmlLayer, they are being parsed at Google's servers and aren't subject to the same domain restriction. If you

[Google Maps API v3] Re: How to convert x,y to lat, lng?

2011-01-03 Thread tinem
Think it's used European 1950 (Denmark) System 34, Jylland Can you tell me exactly what to do to maybe just convert one at a time to WGS84 so I can test it, please? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post t

[Google Maps API v3] Re: Reading xml data source from within Google Sites Gadget

2011-01-03 Thread Gretchen
It's odd because I was able to get KML files to work and aren't they essentially XML? I will have to research xmlHttp. Thanks so much for all your help! -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, se

[Google Maps API v3] Re: KML of walking routes obscuring street labels

2011-01-03 Thread Gretchen
I used a thinner line with 50% transparency which worked pretty well. -- 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, s

[Google Maps API v3] Please wote for this - Disable icon scaling in Street View

2011-01-03 Thread tinem
http://code.google.com/p/gmaps-api-issues/issues/detail?id=2969 And the discussion that got us to make this issue https://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/cc674353b3a3cccb?hl=en# -- You received this message because you are subscribed to the Google Groups "Goog

[Google Maps API v3] Re: Google Maps JS API auto-complete support for eclipse

2011-01-03 Thread Chad Killingsworth
You could add the correct extern from the Closure-Compiler project. See http://code.google.com/p/closure-compiler/source/browse/#svn%2Ftrunk%2Fcontrib%2Fexterns%2Fmaps Chad Killingsworth -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v

[Google Maps API v3] Re: Limited Steps in directionsDisplay??

2011-01-03 Thread cobalt
Hmmm already done what I wanted. ;) example of what I sent earlier useful to ^ ^ Only had a problem with these markers. The creation of something on the basis that: http://maps.forum.nu/gm_texas.html for now I'm learning, meets google maps;) Thanks for help ;) -- You received this message

[Google Maps API v3] Re: Speeding up the map

2011-01-03 Thread geocode...@gmail.com
On Jan 3, 5:15 am, Rossko wrote: > > But this seems hectic. Is it possible to create only one infowindow and then > > setting contents (using setContent())? where i can get some example on > > this > > You could try searching this > grouphttp://groups.google.com/group/google-maps-js-api-v3/se

[Google Maps API v3] Re: Limited Steps in directionsDisplay??

2011-01-03 Thread geocode...@gmail.com
On Jan 3, 2:19 am, cobalt wrote: > So I started combined on the basis of this example from the > documentationhttp://code.google.com/intl/pl/apis/maps/documentation/javascript/exa... > > I used overview_path instead of legs[0].steps, Why did you do that? I suspect you want to do neither of thos

[Google Maps API v3] Main stops in between the route...

2011-01-03 Thread vishwa
hi everyone I was using the directionsrenderer service of google api v3. I got the overview points of a route. Now how can I get all the main stops in that route. Like if a user is search for A to B. Now how can I find all the main stop in between A to B. Also if I have overview points stor

[Google Maps API v3] Re: text overlay on a polygon overlay

2011-01-03 Thread Rossko
> please look at the site > http://www.zipmap.net/ > > the web page displays a polygon overlaying on a google map with a text > of the zipcode. This map displays tiles from a private tileserver which contain coloured polygon shapes and text labels, all rendered in the tiles. Example tile http://ts

[Google Maps API v3] Re: Speeding up the map

2011-01-03 Thread Rossko
> But this seems hectic. Is it possible to create only one infowindow and then > setting contents (using setContent())? where i can get some example on > this You could try searching this group http://groups.google.com/group/google-maps-js-api-v3/search?group=google-maps-js-api-v3&q=one+infowi

Re: [Google Maps API v3] Re: Speeding up the map

2011-01-03 Thread panki j
Hi, Here i am creating some markers and corresponding infowindows. Since each infowindow will have different data set, i am creating those along with marker(in showTown() function (please see the code below..). But this seems hectic. Is it possible to create only one infowindow and then setting c

[Google Maps API v3] Re: Compare duration of many routes

2011-01-03 Thread Rossko
> The same idea can be applied to package > delivering, optimal route design, airborne disease diffusing model… This all seems to getting close to breaching the terms of use by re- purposing the Directions service? > This can be done by perform several times of shortest path from center > point a

[Google Maps API v3] Re: How to convert x,y to lat, lng?

2011-01-03 Thread Rossko
Go back to Aarhus council and ask what coordinate system they are using. Then use Google's search engine to find coordinate conversion scripts in the language of your choice, from "whatever" to WGS84 that Google uses. As your data is in a spreadsheet, you can probably do the conversion within the s

Re: [Google Maps API v3] Re: How to convert x,y to lat, lng?

2011-01-03 Thread Andrew Leach
On 3 January 2011 09:35, tinem wrote: > Thanks for trying to help. > > The WHOLE  idea was that I shouldn't find these coordinates myself > because they have no cadastral number so can't find it with my > prefered danish coordinator finder http://www.findvej.dk/ and got this > spreadsheet from cou

[Google Maps API v3] text overlay on a polygon overlay

2011-01-03 Thread pdp2907
hi this is an open ended question. so please feel free to answer . please look at the site http://www.zipmap.net/ which shows up a webpage where one can enter a zipcode. a zipcode say 10001. the web page displays a polygon overlaying on a google map with a text of the zipcode. this uses googl

[Google Maps API v3] Re: Limited Steps in directionsDisplay??

2011-01-03 Thread cobalt
So I started combined on the basis of this example from the documentation http://code.google.com/intl/pl/apis/maps/documentation/javascript/examples/directions-draggable.html I used overview_path instead of legs[0].steps, which resulted in no 52 and 570 markers. Here you have two examples that I

[Google Maps API v3] Re: How to convert x,y to lat, lng?

2011-01-03 Thread tinem
Thanks for trying to help. The WHOLE idea was that I shouldn't find these coordinates myself because they have no cadastral number so can't find it with my prefered danish coordinator finder http://www.findvej.dk/ and got this spreadsheet from council Aarhus in Denmark. I can find the street but

Re: [Google Maps API v3] How to convert x,y to lat, lng?

2011-01-03 Thread Andrew Leach
On 3 January 2011 07:43, tinem wrote: > y=191616 , x=220153 > y=191842 , x=220478 > y=189938 , x=220443 > > I have got this info in a spreadsheet which should be from MapView but > can't figure out how to convert it to latitude,longitude so I can use > it on my map. Can someone help please? Well,