[Google Maps API v3] Re: _Get method is not dangerous here ?

2011-12-23 Thread DaveGivesPHPaShot
Thanks Rossko. I'll switch to _POST. -- 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/-/3Na6GGkamesJ. To post to this group, send ema

[Google Maps API v3] _Get method is not dangerous here ?

2011-12-23 Thread DaveGivesPHPaShot
http://code.google.com/intl/fr-FR/apis/maps/articles/phpsqlinfo_v3.html (The google tutorial, "From Info Windows to a Database: Saving User- Added Form Data") We use _GET in the above example. It isn't dangerous because no one ever sees the URL ? There is no chance of a robot adding stuff by accid

[Google Maps API v3] Re: looking for an example : static xml (dispensing with php and mysql)

2011-12-17 Thread DaveGivesPHPaShot
Oops! I see now : I just replace downloadUrl("phpsqlajax_genxml.php", function(data) on this page http://code.google.com/intl/fr-FR/apis/maps/articles/phpsqlajax_v3.html with this downloadUrl("my_local_xml_file.xml", function(data) Cheers, Dave On Dec 17, 6:19 pm, Dave

[Google Maps API v3] looking for an example : static xml (dispensing with php and mysql)

2011-12-17 Thread DaveGivesPHPaShot
Hello, I want to share my maps with other website owners and am looking for a way to sidestep the cross-domain restrictions. So I'll provide 3 components: the hlml page, the javascript, and a static xml file. I am having trouble with the javascript to download the static xml file. I saw an example

[Google Maps API v3] Re: xml gets pulled but markers not created

2010-11-15 Thread DaveGivesPHPaShot
Thanks Larry ! Yes, Javascript. On 14 nov, 17:53, "geocode...@gmail.com" wrote: > On Nov 14, 7:55 am, DaveGivesPHPaShot wrote: > > > > > > > Hello and thanks for your help, > > This page produces markers > > :http://www.thebigmap.com/test/wait_on

[Google Maps API v3] xml gets pulled but markers not created

2010-11-14 Thread DaveGivesPHPaShot
Hello and thanks for your help, This page produces markers : http://www.thebigmap.com/test/wait_onlyonechangenov8c.htm works. It queries (as you can see in the source code) this php file: http://www.thebigmap.com/test/genxml_by_tag.php But this page doesn't produce markers : http://www.thebigmap.c

[Google Maps API v3] Re: Sharing my Distance Widget and What's Around Me Widget

2010-11-07 Thread DaveGivesPHPaShot
Re error: I am on a French version of IE, but at work and I can't see which version of IE. On http://map.quillamwa.com/distancewidget/ and http://map.quillamwa.com/ I get the exact same error message : Line 477, character 2, Identifier, string or number expected. (I am translating from French : "i

[Google Maps API v3] Re: why is this function firing automatically ?

2010-11-05 Thread DaveGivesPHPaShot
earch terms and clicking a button. In any case, here is my code http://www.thebigmap.com/test/marche_alimentaire_wait_to_loadnov5c.html I added in a couple of alerts to help me see what is going on. Thanks for all of your help ! On 4 nov, 17:57, DaveGivesPHPaShot wrote: > Thanks Rossko ! >

[Google Maps API v3] Re: why is this function firing automatically ?

2010-11-04 Thread DaveGivesPHPaShot
Thanks Rossko ! That helped. I will remove that click listener, too. On 4 nov, 11:34, Rossko wrote: > The line mysql_downloadUrl(..) isn't inside any function so it gets > executed as the page loads.  Keep a careful count of curly brackets. > > The map click listener does nothing > google.maps.ev

[Google Maps API v3] why is this function firing automatically ?

2010-11-04 Thread DaveGivesPHPaShot
Hello and thanks in advance for your help. This is a google mashup in which a function fires onload instead of waiting patiently to be called upon. http://www.thebigmap.com/test/marche_alimentaire_wait_to_loadnov3c.html I would like to load an empty map and wait for the user to enter search in

[Google Maps API v3] Re: Invalid value for property

2010-11-03 Thread DaveGivesPHPaShot
Great Larry ! That makes sense. When I broke the onload function into a separate map load and marker load function, I created this problem. By the way, did you see the reference to you in the comments ? Thanks a lot, David -- You received this message because you are subscribed to the Google Grou

[Google Maps API v3] Invalid value for property

2010-11-02 Thread DaveGivesPHPaShot
Hello, Here is my page. http://www.thebigmap.com/test/search_by_tagnov02e.html The error occurs if you enter something in the text box at top right and try to call the script. Here is the error I'm getting Uncaught Error: Invalid value for property : [object HTMLDivElement] Any ideas ? Thanks !

[Google Maps API v3] For newbies - understanding Mike Williams and Larry's checkbox examples compared to google's PHP/MySQL tutorial

2010-09-19 Thread DaveGivesPHPaShot
I'm new to java and had a hard time understanding the examples here http://econym.org.uk/gmap/example_categories.htm and here http://www.geocodezip.com/v3_MW_example_categories.html compared to the google tutorial here http://code.google.com/apis/maps/articles/phpsqlajax_v3.html The first point to

[Google Maps API v3] Re: Is it true that one can't add nodes to a marker ?

2010-09-19 Thread DaveGivesPHPaShot
Ah yes! I'm still getting my hands around Javascript and I see what you mean : var marker = new google.maps.Marker( { position: latlng , map: map } ); will only process one argument but I can stuff various custom properties in there. Is that right? So I am not limited to the properties here http://

[Google Maps API v3] Re: Is it true that one can't add nodes to a marker ?

2010-09-18 Thread DaveGivesPHPaShot
> This is the page from Mike Williams' (v2) tutorial that explains > it:http://econym.org.uk/gmap/categories.htm > > I just ported it to v3. > >   -- Larry I suppose that the constructor google.maps.Marker will only take certain arguments. (I found the V3 API documentation, but don't find an expr

[Google Maps API v3] Re: Is it true that one can't add nodes to a marker ?

2010-09-17 Thread DaveGivesPHPaShot
On Sep 17, 3:51 am, DaveGivesPHPaShot wrote: > > > > > > > On 17 sep, 07:15, Chris Broadfoot wrote: > > > > There is no need to double post. You posted this same question only about > > > 5 > > > hours ago. > > > Thank you Chris, I had hoped to

[Google Maps API v3] Re: Is it true that one can't add nodes to a marker ?

2010-09-17 Thread DaveGivesPHPaShot
> > InfoWindow is certainly not a child of Marker (in the DOM - that *is* what > > you're asking, right?) Oops. Thanks Chris. I didn't catch this on the first read. Bind is not doing what I thought, then. -- You received this message because you are subscribed to the Google Groups "Google Maps

[Google Maps API v3] Re: Is it true that one can't add nodes to a marker ?

2010-09-17 Thread DaveGivesPHPaShot
Golly, two typos above. Any way to edit a post ? On 17 sep, 12:51, DaveGivesPHPaShot wrote: > On 17 sep, 07:15, Chris Broadfoot wrote: > > > There is no need to double post. You posted this same question only about 5 > > hours ago. > > Thank you Chris, I had hoped to mo

[Google Maps API v3] Re: Is it true that one can't add nodes to a marker ?

2010-09-17 Thread DaveGivesPHPaShot
On 17 sep, 07:15, Chris Broadfoot wrote: > There is no need to double post. You posted this same question only about 5 > hours ago. Thank you Chris, I had hoped to modify the post to make it clearer but only saw the 'remove' option and no "edit post" option, so I removed and re-created. > InfoW

[Google Maps API v3] Is it true that one can't add nodes to a marker ?

2010-09-16 Thread DaveGivesPHPaShot
Hello, I thought that the infowindow was a childnode of marker and that I'd be able to add other childnodes to the marker. Here's what I'm doing : I've been trying to add checkbox functionality to this type of code http://code.google.com/apis/maps/articles/phpsqlajax_v3.html But I don't underst

[Google Maps API v3] adding nodes to a marker

2010-09-16 Thread DaveGivesPHPaShot
Hello, Am I making this too hard ? I've been trying to find out how to add nodes to markers. Is that possible ? I thought that the infowindow was a childnode of marker and that I'd be able to add other childnodes to the marker. Here's what I'm doing : I've been trying to add checkbox functionality

[Google Maps API v3] Re: Charset problems!

2010-09-14 Thread DaveGivesPHPaShot
Can you get that same bit of information to appear correctly in an html page or something other than a google map? If so, that may be a sign that your database is set up fine and that something coming afterwards is not set up correctly. I had a character set problem with French accents and someone

[Google Maps API v3] Re: show sql data not in infowindow but in my page

2010-09-13 Thread DaveGivesPHPaShot
Hello Greg45 The gentleman who produced this site has a lot of examples I found helpful. http://econym.org.uk/gmap/basic2.htm Also, try this search in google site:http://gmaps-samples-v3.googlecode.com/svn/trunk/ you will find a lot of need examples of things that can be done. On Sep 13, 4:43 pm

[Google Maps API v3] Re: Here is my code that doesn't save checkboxes

2010-09-13 Thread DaveGivesPHPaShot
Thanks. I found the answer and will be happy to remove this thread. How do I do that? On Sep 13, 9:26 pm, "geocode...@gmail.com" wrote: > On Sep 13, 12:16 pm, DaveGivesPHPaShot wrote: > > > I'm working from this > > tutorialhttp://code.google.com/intl/fr/a

[Google Maps API v3] Re: Here is my code that doesn't save checkboxes

2010-09-13 Thread DaveGivesPHPaShot
I'm working from this tutorial http://code.google.com/intl/fr/apis/maps/articles/phpsqlinfo.html which creates the form from a super-long java string. I think my problem may be from trying to do check marks with this method of creating the form. -- You received this message because you are subscr

[Google Maps API v3] Here is my code that doesn't save checkboxes

2010-09-13 Thread DaveGivesPHPaShot
Hello, I'm new to PHP and I suspect it's due to the way my database is set up. On this page, http://www.oukwakan.org/jdmlredo17.html , you can see my code - the info window asks the questions and closes at the end. However, when I go in and look at my database using PHPMyAdmin, I don't see any 1

[Google Maps API v3] Re: Here are two versions of the javascript - Am I asking for trouble by making this variable Global ?

2010-09-09 Thread DaveGivesPHPaShot
Awesome ! Thanks Rossko. I usually benefit by trusting the higher source and trying to find out where I went wrong in implementing the teaching. This was a rare case where the "Word of God" contained a typo. I hadn't seriously considered that idea. On 9 sep, 15:19, Rossko wrote: > > Original code

[Google Maps API v3] Re: Here is the PHP code that is breaking my XML - how do I set correct charset for the XML from within the PHP file ?

2010-09-09 Thread DaveGivesPHPaShot
early and am not due to start work until 9am. Thanks again, Ralph ! On 10 sep, 04:59, DaveGivesPHPaShot wrote: > Oops ! Yes, of course. Thanks a lot, Ralph ! > Maybe I'll experiment with exact encoding now. I am getting some > gibberish, but xml works ! > > view-sourc

[Google Maps API v3] Re: Here is the PHP code that is breaking my XML - how do I set correct charset for the XML from within the PHP file ?

2010-09-09 Thread DaveGivesPHPaShot
etAttribute('name', utf8_encode($row['name'])); > > Ralph > > On Sep 9, 2:13 pm, DaveGivesPHPaShot wrote: > > > > > Hello, I am trying to duplicate this google code tutorial on using > > MySql and PHP with Google Maps V3. > > >http://code.google.co

[Google Maps API v3] Re: Here is the PHP code that is breaking my XML - how do I set correct charset for the XML from within the PHP file ?

2010-09-09 Thread DaveGivesPHPaShot
Thank you Ralph ! Where do I put it? On Sep 9, 2:35 pm, Ralph wrote: > Maybe this might work > > $occ->setAttribute('name', utf8_encode($row['name'])); > > Ralph > > On Sep 9, 2:13 pm, DaveGivesPHPaShot wrote: > > > > > Hello,

[Google Maps API v3] Here are two versions of the javascript - Am I asking for trouble by making this variable Global ?

2010-09-09 Thread DaveGivesPHPaShot
Hello, When I made this variable global, am I asking for trouble later on ? Original code that returns 'request' undefined http://www.oukwakan.org/googlemysqltest.htm But here, http://www.oukwakan.org/googlemysqltestGLOBALVAR.htm I made the request gloval variable by removing VAR in this bit of

[Google Maps API v3] Here is the PHP code that is breaking my XML - how do I set correct charset for the XML from within the PHP file ?

2010-09-09 Thread DaveGivesPHPaShot
Hello, I am trying to duplicate this google code tutorial on using MySql and PHP with Google Maps V3. http://code.google.com/intl/fr/apis/maps/articles/phpsqlajax_v3.html I have foreign characters (well they aren't "foreign" for everyone, but you know what I mean, right?) in my MySql database. W

[Google Maps API v3] php syntax for adding to mysql query string

2010-08-27 Thread DaveGivesPHPaShot
Hello, Here is a link which gives you two markers with name "Best" : http://www.oukwakan.org/phpsqlajax_genxml.php?nom=best One of the markers has lat lat="-37.1235" But if you enter http://www.oukwakan.org/phpsqlajax_genxml.php?nom=Best&lat=-37.1235 ... you get an empty xml. For now, I'm just te

[Google Maps API v3] Re: Querying for POI points near an itinerary

2010-08-26 Thread DaveGivesPHPaShot
Just an idea : an extremely long query for points of interest within 25 miles of itinerary marker 1 OR within 25 mi of itinerary marker 2 OR within 25 mi of itinerary marker 3, etc. On 4 juil, 09:56, sgiddings wrote: > Hello, > > Can anyone please advise me with this scenario. > I have amySqldata