I have solved a similar problem by abusing a GeoRSS-Layer.
A servlet generated the required GeoRSS-Feed, it worked great.
Unfortunatelay some of my feeds contained about 1000 items, where
upto 4 feeds at one time where loaded.

My local system sometimes broke down.

Carsten

Eric Lemoine schrieb:
On Feb 16, 2008 8:16 AM, schone <[EMAIL PROTECTED]> wrote:
Hello all,

New to OpenLayers but I think it is an amazing project!

So here is my situation...

I have around 200 long/lat in a database attached with unique locations.
(MySQL database)

I would like to display all these markers on the map using OpenLayers but
I'm finding it hard to display multiple markers.

Has anyone got any good examples of working with Multiple Markers and MySQL
or an XML document?

Thanks for the help!

Kind Regards
Prashant

Hi Prashant

You'd need to have some software on the server side to extract the
data from your database and send it to the client. If I had to do
that, I'd implement a simple web sevice in Python that reads the
lon/lat's from the database and sends a JSON representation of this
data to the client. On the client side, I'd write code that requests
the data through Ajax and uses OpenLayers to create and display a
marker for each lon/lat in the response. This is just off the top of
my head...

Cheers,
--
Eric
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users


--
Mit freundlichen Grüßen / Yours faithfully
Carsten Eider

Dipl. Inf. (FH)

Kompetenzzentrum für Innovative Informationssysteme

c/o Fachhochschhule Bingen / University of applied sciences Bingen

Berlinstraße 109
55411 Bingen

Tel: +49 (0) 6721 / 409-179
Fax: +49 (0) 6721 / 409-158
email: [EMAIL PROTECTED]
Internet: iis.fh-bingen.de
begin:vcard
fn:Carsten Eider
n:Eider;Carsten
org:Fachhochschule Bingen;Kompetenzzentrum innovative Informationssysteme
adr;quoted-printable:;;berlinstra=C3=9Fe 109;Bingen;RLP;55411;Deutschland
email;internet:[EMAIL PROTECTED]
title:Dipl.-Inf.
tel;work:067214090179
x-mozilla-html:TRUE
url:iis.fh-bingen.de
version:2.1
end:vcard

_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to