NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi,

I have a list of locations and their data(which includes latitude and longitude coordinates).So i want to mark those locations on a map and render this map in a web application .So this map should be rendered using some opensource like OpenStreetMaps.

Can anyone help me in setting this up or provide me some steps how can we setup this using this API

I am looking for some .Net code,however I think using javascript we can achieve this i guess

Thanking you in anticipation

asked 02 Nov '11, 09:19

VenuGopal's gravatar image

VenuGopal
16899
accept rate: 0%

edited 02 Nov '11, 09:20

I am looking similar to that,Can you please provide me javascript to display text when user clicks on that pinpoints.

(02 Nov '11, 13:27) VenuGopal

I think http://www.netzwolf.info/kartografie/openlayers/popupmarker.js does exactly what you want. But I am not the author of it ;-)

(02 Nov '11, 13:48) ajoessen

I think this is what you want:

http://www.netzwolf.info/kartografie/openlayers/csv_angepasst2

Using a csv-file with geographic coordinates, and some javascript.

permanent link

answered 02 Nov '11, 11:00

ajoessen's gravatar image

ajoessen
16826
accept rate: 9%

Hi Ajossen,

Thanks a lot for your reply,I am able to render the maps in the other way,However when I select the Pinpoint I want some description to be displayed,To do that I am using Openlayers.Layer.Text method,

http://dev.openlayers.org/releases/OpenLayers-2.6/doc/apidocs/files/OpenLayers/Layer/Text-js.html

However when I am using that I am getting an error message as Object Expected

Could you please check it once?Ijust need a script to display when click on the Pinpoint.

(02 Nov '11, 13:08) VenuGopal

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×290
×126

question asked: 02 Nov '11, 09:19

question was seen: 4,489 times

last updated: 03 Nov '11, 16:00

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum