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

Hi,

I am able to render the maps using the OpenStreetmaps API and also able to pinpoint the locations based on the latitude and longitude coordinates and When user clicks on the Pin,I want to display the Popup and display some information inside this popup,

Can anyone guide me how can I acheive this?Thanks a lot for your help

asked 04 Nov '11, 15:00

VenuGopal's gravatar image

VenuGopal
16899
accept rate: 0%


You should take a look at the examples at OpenLayers.

permanent link

answered 04 Nov '11, 16:30

Gnonthgol's gravatar image

Gnonthgol ♦
13.8k16103198
accept rate: 16%

I looked at them,when I am accessing the OpenLayers.js,one of the methods is looking for a username and password where I wont provide,and its displaying the message Access is denied javascript error So,Any ideas what user name and password should be passed in this method ?

I am trying to render this map on an .aspx page,instead of an html page as the open layers examples are showing Looking for your cooperation

Thanks a lot

(05 Nov '11, 12:31) VenuGopal

Error I am facing is similar to like this http://trac.osgeo.org/openlayers/ticket/2857

(05 Nov '11, 13:04) VenuGopal

An alternative way to display maps and have markers and vectors on it is using Leaflet. You can find more at http://leaflet.cloudmade.com

permanent link

answered 13 Nov '11, 14:53

ChrisH's gravatar image

ChrisH
4.1k134262
accept rate: 15%

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:

×181

question asked: 04 Nov '11, 15:00

question was seen: 7,654 times

last updated: 13 Nov '11, 14:53

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