[Google Maps API v3] Re: PHP Won't output XML at least I think that's the problem....

2011-08-18 Thread Martin™
Open the URL to your XML in a browser: http://www.courtsofsorts.com/phpsqlajax_genxml.php Now use the browser's View Source option and you'll see your XML - the XML also validates so you have no problem there. But the XML is being served with a Content-Type of 'text/html'. I think your problem l

[Google Maps API v3] Re: The behavior of Google Maps is different from last week regarding "target-densitydpi"

2011-08-18 Thread Chris C
I have the same question. This week I cannot read my maps on the iPhone 4. But all versions of Google Maps seem to behave this way now, not just V3.6 -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on t

[Google Maps API v3] Multiple origins multiple destinations

2011-08-18 Thread kypriakos
Hi all, I am using Maps v3 and Places for my app. I can get the origins of a number of peers and then I want to calculate the distances between them and a number of points of interest. What I am not sure about is whether is possible to specify an array of origins in the Map. Most likely I will nee

[Google Maps API v3] Re: Need examples/assistance with Zoom to Selected from Drop Down Menu (Fusion Tables)

2011-08-18 Thread geocode...@gmail.com
On Aug 18, 11:16 am, Amelia Griza-Padilla wrote: > Hello, > I am a beginner to Google Maps Javascript API (about 2 weeks now) and I need > some assistance.  I have created two drop down menus linked to my fusion > tables.  What I am trying to do is: upon clicking on a selection zoom to > that poly

[Google Maps API v3] Re: Need examples/assistance with Zoom to Selected from Drop Down Menu (Fusion Tables)

2011-08-18 Thread Amelia Griza-Padilla
Hi Jeff, Sorry I'm really a novice, what I tried was function changeMap() { var searchString = document.getElementById('searchString').value.replace("'", "\\'"); if(searchString == "") { layer.setQuery("SELECT 'geometry' FROM " + tableid); return; } layer.setQuery("SELECT 'geomet

[Google Maps API v3] Re: Looking for Examples of Simple Map with Multiple Markers

2011-08-18 Thread geocode...@gmail.com
On Aug 18, 5:43 pm, fmdataweb wrote: > Has anybody got an example of a map showing multiple markers that they > can point me to. > > I can't find one at the Google Maps Javascript API V3 Examples page: > > http://code.google.com/apis/maps/documentation/javascript/examples/in... You mean like thes

[Google Maps API v3] Looking for Examples of Simple Map with Multiple Markers

2011-08-18 Thread fmdataweb
Has anybody got an example of a map showing multiple markers that they can point me to. I can't find one at the Google Maps Javascript API V3 Examples page: http://code.google.com/apis/maps/documentation/javascript/examples/index.html unless I'm missing something. Many thanks, Steve -- You re

[Google Maps API v3] Re: PHP Won't output XML at least I think that's the problem....

2011-08-18 Thread Cole
Thanks for the reply Martin, I appreciate your help! I did have that line of code in my script "header("Content-type: text/xml");" however I removed it because I thought maybe it was causing the problem based off of the statement below from the tutorial "If you suspect there's a problem with c

[Google Maps API v3] Checkbox in IE 9

2011-08-18 Thread K Smith
Hi, I am very new to the Google Maps API, and I am doing a simple map for biking. I have my website working fine in Chrome but I'm having issues with IE and some with FF. In IE when I check all of my checkboxes on my map everything loads ok, my issue is if you just refresh the website the layer

[Google Maps API v3] Re: Geolocation shows nothing if user closes prompt box without allowing or denying

2011-08-18 Thread Mitchell Erickson
You may have solved this problem already, but here's a reply anyway. If I'm understanding you correctly, I was having the same problem. Pil's message has a link to an example that has this problem--that is, if the user refused geolocation, then no map appears. I've solved this problem for a website

[Google Maps API v3] Re: resource interpreted as image but transferred as text/html while showing map

2011-08-18 Thread Rossko
> When the button is clicked now, I am getting this error message, and the > image is not loaded anyway. "resource interpreted as image but transferred > as text/html while showing map" You could look at similar threads in this group http://groups.google.com/group/google-maps-js-api-v3/search?grou

Re: [Google Maps API v3] Info in website content instead of an infowindow, possible?

2011-08-18 Thread DTCMap
Thank you so much! That was exactly what I was looking for! -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/aDw5qiVTT8wJ. To post

[Google Maps API v3] Re: Info in website content instead of an infowindow, possible?

2011-08-18 Thread geocode...@gmail.com
On Aug 18, 1:43 pm, Antonio Bulgheroni wrote: > Thanks a lot for your prompt reply, but I'm too newbe to understand. In your > example you set the listener function for each marker you made in order to > print the infowindow appearing in the div. > > I'm getting all the markers from a fusion table

[Google Maps API v3] How to add terrain to custom gmap

2011-08-18 Thread Niklas Rosencrantz
The link to my map is montao.com.br is the map I want to make dynamic is attached with this message. I could mape a styled map but some features were undoable such as remove other countries than Brazil,

Re: [Google Maps API v3] hide transit stations

2011-08-18 Thread Thomas Wingate
Is it possible to define the styles directly in the *mapOptions* variable? The documentation mentions styling the default map *"**either at time of construction or by calling ** setOptions"* but is a

Re: [Google Maps API v3] Re: Info in website content instead of an infowindow, possible?

2011-08-18 Thread Antonio Bulgheroni
Thanks a lot for your prompt reply, but I'm too newbe to understand. In your example you set the listener function for each marker you made in order to print the infowindow appearing in the div. I'm getting all the markers from a fusion table query. How can i set a listener for each marker? thank

[Google Maps API v3] Re: Need examples/assistance with Zoom to Selected from Drop Down Menu (Fusion Tables)

2011-08-18 Thread JKurtock
In changeMap2 (your linked map doesn't have "LocChange()") try: function changeMap2(theValue) { map.panTo(new google.maps.LatLng(theValue.split(',')); } panTo: http://code.google.com/intl/en/apis/maps/documentation/javascript/reference.html#Map split: http://msdn.microsoft.com/en-us/library/t5az12

[Google Maps API v3] Re: Hide/show infoboxes?

2011-08-18 Thread JFrancis
In my case, it is within my geocode code. The address is searched, the marker appears, and an infoWindow opens. I did it this way because I also have markers on the map which are created using a KML file, and before implementing this change, I would get 2 open infoWindows, one for the geocoded mark

[Google Maps API v3] How to detect change in directions RouteIndex?

2011-08-18 Thread MymsMan
In my code in generate a route in segments and want to place a Marker near the centre of the leg and calculate total distance and time. The problem comes if the user selects one of the alternate routes. There appears to be no event documented that I can listen to detect the change in route to al

[Google Maps API v3] Re: Hide/show infoboxes?

2011-08-18 Thread 3D-kreativ
Thanks! I made a quick test, but I didn't got it to work!? Perhaps I have done something wrong. Where should this code be placed in my code? I'm aware that I have to change some code. Will this also solve the issue with the infoboxes that are visible from start? On 18 Aug, 20:30, JFrancis wrote:

[Google Maps API v3] resource interpreted as image but transferred as text/html while showing map

2011-08-18 Thread Raghvendra Sharma
Hi Everyone, This is my first time writing any map app. I picked up a sample from Google's pages, and everything looked fine. I sort of felt couragious and tried to adapt the page a bit, by inserting button, only on click of that should the map be displayed, else not. When the button is clicked

[Google Maps API v3] Re: Hide/show infoboxes?

2011-08-18 Thread JFrancis
Hiding the previously-displayed Info Window when a different marker is clicked looks something like this: if (infowindow) { infowindow.close(); infowindow = new google.maps.InfoWindow(); } else { infowindow = new google.maps.InfoWindow(); } IF (the variable) "infowindow" i

[Google Maps API v3] Need examples/assistance with Zoom to Selected from Drop Down Menu (Fusion Tables)

2011-08-18 Thread Amelia Griza-Padilla
Hello, I am a beginner to Google Maps Javascript API (about 2 weeks now) and I need some assistance. I have created two drop down menus linked to my fusion tables. What I am trying to do is: upon clicking on a selection zoom to that polygon (or lat/long). I've found some ideas, but have no i

[Google Maps API v3] Hide/show infoboxes?

2011-08-18 Thread 3D-kreativ
Hi, I have just discovered Google Maps plugin Infobox. I have used the example code at http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobox/docs/examples.html and I have added a loop to show several markers and infoboxes, but I have one problem that I can't solve on my own and I

[Google Maps API v3] Re: Info in website content instead of an infowindow, possible?

2011-08-18 Thread geocode...@gmail.com
On Aug 18, 9:04 am, Antonio Bulgheroni wrote: > is it possible to do the same thing using a kml layer coming from a Fusion > Table query? Yes, the data from the FusionTables row is in the click event. -- Larry > > - > Antonio Bulgheroni

[Google Maps API v3] Re: Re : Re: How to calculate distance between two point in google map

2011-08-18 Thread geocode...@gmail.com
On Aug 18, 9:25 am, Natxo Vergara wrote: > Hi Larry! > > I have the same issue as Shaheryar Ali: I'm new here in the neibourhood, and > I'm playing a little bit with the google maps API (v3). > Now I'm trying to get the distance between two points (two LatLng points > selected randomly by clicking

[Google Maps API v3] Re: Adding Multiple Search Drop Down Menus to Map (Fusion Tables)

2011-08-18 Thread Amelia Griza-Padilla
Thank you so much Radina, I got it to work (I've just started with javascript and google maps for about a two weeks and so it's making more and more sense:) ) http://www.advocacy.ucla.edu/Maps/Assembly_Map.html On Aug 15, 4:00 pm, Radina wrote: > Amelia: > > Pay attention to id and function na

[Google Maps API v3] Re : Re: How to calculate distance between two point in google map

2011-08-18 Thread Natxo Vergara
Hi Larry! I have the same issue as Shaheryar Ali: I'm new here in the neibourhood, and I'm playing a little bit with the google maps API (v3). Now I'm trying to get the distance between two points (two LatLng points selected randomly by clicking on the map). I've found an old tutorial (correspo

Re: [Google Maps API v3] Info in website content instead of an infowindow, possible?

2011-08-18 Thread Antonio Bulgheroni
is it possible to do the same thing using a kml layer coming from a Fusion Table query? - Antonio Bulgheroni , PhD * * On Thu, Aug 18, 2011 at 4:36

[Google Maps API v3] The behavior of Google Maps is different from last week regarding "target-densitydpi"

2011-08-18 Thread jychong
I am developing a mobile application using the Google Maps JS API V3. It is a hybrid app and I use to scale the content according to the device resolution. Last week, I was able to see a map that had adequate font size. This week, things got changed a bit and I am testing the same implementation o

Ang.: Re: [Google Maps API v3] Re: Elevation API Usage Limits

2011-08-18 Thread Mats
Sorry for hi-jacking the thread! Regarding the 2500 requests per day: If the requests are performed client side, is it then 2500 req per day per client or is it still limited by the site in some way e.g. by referrer? -- You received this message because you are subscribed to the Google Groups

Re: [Google Maps API v3] Map with Multiple Markers - fine in IE but blank in Safari

2011-08-18 Thread Priit Kullerkupp
I don't know about Safari but it doesn't work with Firefox either but if you comment out or remove zindex from your function, it works. On Thu, Aug 18, 2011 at 3:33 PM, fmdataweb wrote: > I've created a simple map showing a few markers - as far as I can tell > it's coded correctly but this is m

[Google Maps API v3] Re: How to add listener for overlays

2011-08-18 Thread Robin Di Capua
I managed to make it work with: USGSOverlay.prototype.addClickEvent = function() { google.maps.event.addDomListener(myCustomOverlay.div_, 'click', function() { alert("you clicked!"); }); } but on the iPhone is weird, if I tap on my overlay when the map is rendered it works, and t

[Google Maps API v3] How to fetch data from google spreadsheets to google maps?

2011-08-18 Thread shooter123
Hi, Currently my website is reading data for google map markers from a javascript array but I wonder whether it's possible to get the data from google spreadheets instead using a sql query. It's possible to query google spreadsheets for google visualization (charts, tables etc) but I can't find

[Google Maps API v3] Re: error in upload

2011-08-18 Thread chris m
FusionTable issue which I have seen and worked with on this board previously, but I will check elsewhere. On Aug 18, 11:57 am, Andrew Leach wrote: > On 18 August 2011 16:38, chris m wrote: > > > I am getting an error "can not upload, try again later" when I try > > xlsx and csv anyone else getti

Re: [Google Maps API v3] error in upload

2011-08-18 Thread Andrew Leach
On 18 August 2011 16:38, chris m wrote: > I am getting an error "can not upload, try again later" when I try > xlsx and csv anyone else getting this? I have another version of this > file in a table now and had no issues. Wantedt o see if there are > characters that are not allowed, I am not using

[Google Maps API v3] error in upload

2011-08-18 Thread chris m
I am getting an error "can not upload, try again later" when I try xlsx and csv anyone else getting this? I have another version of this file in a table now and had no issues. Wantedt o see if there are characters that are not allowed, I am not using any special ones. Please help? Chris -- You

[Google Maps API v3] Re: Map with Multiple Markers - fine in IE but blank in Safari

2011-08-18 Thread Pil
I got a few errors in Firefox. Maybe the most important one Error: illegal character Source File: http://maps.gstatic.com/intl/en_ALL/mapfiles/api-3/6/0a/main.js Line: 1 Source Code: \u2866\u756e\u6374\u696f\u6e28\u297b\u6675\u6e63\u7469\u6f6e \u2061\u6128\u6129\u [snip] I think it has somethi

[Google Maps API v3] Re: cursor on polygon

2011-08-18 Thread shah
dealing with same issue at the moment..no sucess..if you got any let me know google.maps.event.addListener(_polyShape ,"mouseover",function(){ map .draggableCursor = "crosshair"; }); On Aug 11, 7:50 pm, Javier Santana wrote: > Hi all, > > There is a way tochangecursorwhen user th

[Google Maps API v3] Re: Editing multi -surface polygon

2011-08-18 Thread shah
aha..but in my case , user has independence of creating any crazy polygon. Basically the behaviour has to be similar to maps.google.com polygon editor. I have no idea , how to deal with this crazy issue. Thanks for your reply. On Aug 18, 3:35 pm, dfd wrote: > Maybe thishttp://workshops.opengeo.o

Re: [Google Maps API v3] Info in website content instead of an infowindow, possible?

2011-08-18 Thread Andrew Leach
On 18 August 2011 15:17, DTCMap wrote: > Hi there! > I'm trying to delete the usual infowindow and would like the information to > be shown in my website content. So if I click on the marker, the information > displays in . I'm in doubt if this is possible because I > can't find it anywhere on the

[Google Maps API v3] Re: Editing multi -surface polygon

2011-08-18 Thread dfd
Maybe this http://workshops.opengeo.org/postgis-intro/validity.html can give you some hints? I use PostGreSQL/PostGIS and do not allow to store invalid (multi)polygons. Instead i try to "fix" invalid polygons with a buffer of 0 (serverside) and return that "fixed" one with a hint to the user, plott

[Google Maps API v3] Info in website content instead of an infowindow, possible?

2011-08-18 Thread DTCMap
Hi there! I'm trying to delete the usual infowindow and would like the information to be shown in my website content. So if I click on the marker, the information displays in . I'm in doubt if this is possible because I can't find it anywhere on the internet. Hopefully someone has some experie

[Google Maps API v3] Re: Polyline Marker problem

2011-08-18 Thread ppops
Thanks, I understand how to fix this issue now. I will fix tomorrow and post a working version. Cheers. Paul. On Aug 18, 10:52 pm, "geocode...@gmail.com" wrote: > On Aug 17, 10:53 pm, ppops wrote: > > > Hi, > > >http://www.irun.org.au/runs/?fuseAction=viewRun&mapID=79 > > > For some reason

[Google Maps API v3] Re: Map with Multiple Markers - fine in IE but blank in Safari

2011-08-18 Thread igloo
You have errors in your javascript that are being tolerated by IE, but cause the javascript not to execute in Safari. Turn on the Error Console in the Develop sub-menu and it will give you a list of your errors. On Aug 18, 10:33 pm, fmdataweb wrote: > I've created a simple map showing a few marke

[Google Maps API v3] Re: Polyline Marker problem

2011-08-18 Thread geocode...@gmail.com
On Aug 17, 10:53 pm, ppops wrote: > Hi, > > http://www.irun.org.au/runs/?fuseAction=viewRun&mapID=79 > > For some reason the polyline doesn't follow the markers exactly. > > There are roughly 300-400 markers, would this be an issue? Not if you used the same coordinates for the markers and the pol

[Google Maps API v3] Re: Center map with location Select box in HTML - Fusion Tables

2011-08-18 Thread geocode...@gmail.com
On Aug 17, 9:59 pm, chris m wrote: > This is great! You are the best! Did you get my message about this? > Not sure - anyways . . . Don't check or reply to personal emails at this account. If you want answers to questions on the maps API post them to the group. > > When take the code you used a

[Google Maps API v3] Map with Multiple Markers - fine in IE but blank in Safari

2011-08-18 Thread fmdataweb
I've created a simple map showing a few markers - as far as I can tell it's coded correctly but this is my first time with the API. It is display correctly on IE v8 under Windows XP but under Safari v5.1 on Mac OS 10.6.8 I just get a blank page with no map (the html title does display at the top o

[Google Maps API v3] Editing multi -surface polygon

2011-08-18 Thread shah
Hello all, I am creating a polygon drawing/editing tool. I am trying to create a polygon editor similar to what maps.google.com is offering. I have use library from http://www.mistechko.sumy.ua/jscript/google/map/polygonEdit/src/index.html, modified a bit to suite my needs. Basically following

[Google Maps API v3] Editing multi -surface polygon

2011-08-18 Thread shah
Hello all, I am creating a polygon drawing/editing tool. I am trying to create a polygon editor similar to what maps.google.com is offering. I have use library from http://www.mistechko.sumy.ua/jscript/google/map/polygonEdit/src/index.html, modified a bit to suite my needs. Basically following

[Google Maps API v3] Polyline Marker problem

2011-08-18 Thread ppops
Hi, http://www.irun.org.au/runs/?fuseAction=viewRun&mapID=79 For some reason the polyline doesn't follow the markers exactly. There are roughly 300-400 markers, would this be an issue? If you zoom in on the end (right of screen), you'll see what I mean. Thanks. Paul. -- You received th

[Google Maps API v3] Re: Center map with location Select box in HTML - Fusion Tables

2011-08-18 Thread chris m
This is great! You are the best! Did you get my message about this? Not sure - anyways . . . When take the code you used and post it to the site as the index page, I get 2 errors: http://vciregionmap.com/ Line 32 - Uncaught SyntaxError: Unexpected token Line 114 - Uncaught ReferenceError: initiali