Newbie needs help .....

36 views
Skip to first unread message

Whatsamatteru

unread,
Oct 31, 2011, 10:03:42 PM10/31/11
to google-map...@googlegroups.com
Hello,
 
I have a need to build a web app that uses Google maps. The user should be able to make a mark on the map and open a dialog box that shows the lat/lon of where hte mark is. The dialog will also contain other params for the user to enter using such things as drop down menus. The app will then send back all the params to a server (like Glassfish).
 
It looks like this is very problematic with Google maps v3 - it doesn't seem to have the "widget" availability. So, what to use? Is this a JSP/JSF type issue where Google maps is integrated in a JSP web page or something like that?
 
 
TIA

Ralph

unread,
Oct 31, 2011, 11:05:59 PM10/31/11
to google-map...@googlegroups.com
Try some of these links:

http://code.google.com/apis/maps/documentation/javascript/basics.html

http://code.google.com/apis/maps/documentation/javascript/articles.html

http://code.google.com/apis/maps/articles/phpsqlinfo_v3.html

The keyword is "javascript"

Ralph

> --
> 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/-/qQ5M_yVb2kEJ.
> To post to this group, send email to
> google-map...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-a...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Joseph Elfelt

unread,
Oct 31, 2011, 11:39:12 PM10/31/11
to Google Maps JavaScript API v3
If your user 'A' is going to enter marker descriptions then you need
to filter those for cross site scripting attacks (XSS) before your app
lets user 'B' see those descriptions on their screen. Google's newbie
info is remiss in not stressing this point.

Rossko

unread,
Nov 1, 2011, 5:14:05 AM11/1/11
to Google Maps JavaScript API v3
>  Google's newbie
> info is remiss in not stressing this point.

What newbie info? To be fair, that isn't a Maps issue. There's a
hundred other good-practice areas Google could touch on in the Maps
docs as well, if they wanted to repurpose them as general web
authoring tutorials.
The developers introduction does say
http://code.google.com/apis/maps/documentation/javascript/basics.html#Audience
"This documentation is designed for people familiar with JavaScript
programming and object-oriented programming concepts."

The tutorial/articles say things like
http://code.google.com/apis/maps/articles/phpsqlinfo_v3.html
"Developers following this tutorial should have some HTML/JavaScript/
Google Maps API v3 experience, as well as PHP/MySQL knowledge."
In my view they really shouldn't be going into much detail on e.g. php
best practice.

Having said all that, I do think a line pointing out that these are
_examples_ and not finished applications would be worthwhile, and the
reader would need to make further development with security,
robustness, etc in mind.
Reply all
Reply to author
Forward
0 new messages