[OpenLayers-Users] OL + database

ngreen n13green at gmail.com
Wed Feb 17 17:17:54 EST 2010


I'm looking for some help getting started. I've spent about a week looking at
various OL examples and "getting started" pages but they cover only the most
minimal basics. And while I'm very handy with php and SQL, my Javascript is
limited so I'm struggling.

I want to set up a basic map with an image base (done) and vector layers for
points, lines (done) and polygons (done).

The bit that's unclear is how to write that information to a database and
load it into the map.

The information at http://dev.openlayers.org/docs/files/ doesn't help me
much because of my limited javascript and examples which touch on what I
want to do tend to offer only part of the solution. All I've figured out is
that I should probably be using the GeoJSON format and for the loading info
part, writing the JSON to a php file something like this?

http://n2.nabble.com/Displaying-Multiple-Markers-from-Database-td1828946.html#a1828954

I've googled and googled and googled and searched these forums but can't
find any decent examples that tell the whole story.

Can anyone point me to one? I'm doing this as a favour for some friends who
sadly don't know anyone with better javascript than me.
-- 
View this message in context: http://n2.nabble.com/OL-database-tp4588879p4588879.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list