[OpenLayers-Users] Using custom data with the Map Viewer Service
Alexandre Leroux
alexandre.leroux at ec.gc.ca
Tue Jan 30 16:08:38 EST 2007
Hi list,
I've been making unsuccessful tests to make the OpenLayers Map Viewer
Service work. My first small project is extremely simple: plot some
locations for carpooling on a webpage using OpenLayers.
From this page, http://trac.openlayers.org/wiki/MapViewerService
when I try
<iframe
src="http://www.openlayers.org/viewer/?controls=panzoom,mouse¢er=42,-71&zoom=10&data=http://www.openlayers.org/dev/examples/textfile.txt"
style="width:400px; height:400px"></iframe>
it works. But if I move the textfile.txt to another publicly accessible
website (and change the html accordingly), even without changing it, I
get a "Unhandled request return Bad Request" error. What's wrong?
I'm new to the list. I really want to start using OpenLayers :-) It has
full of potential to my eyes and could provide interesting benefits to
my organization. I also plan using OpenLayers to map Slashgeo stories,
GeoRSS feed and visitors. Since the same plugin would work with
Slashdot, this could give great exposure to OpenLayers! :-)
Thanks,
Alex
--
Alexandre Leroux, M.Sc., Ing.
Environnement Canada / Environment Canada
Centre météorologique canadien / Canadian Meteorological Centre
Division de la réponse aux urgences environnementales /
Environmental Emergency Response Division
alexandre.leroux at ec.gc.ca
More information about the Users
mailing list