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


1) I have an example openstreetmap code for map integration in my site. In that code, marking is not working. The link for the code iam using is in this page iam using the code(Example - Using Google Maps API v3 setting OSM as a base map layer). This code helps me a lot. please help me. (or) 2) In the same page code(Example Using Google Maps API V2 (marked as Deprecated by Google)has not functioning the mouse scroll zoom in and zoom out. please help me in using it.

My first priority goes to the 1st one.

Thank you in advance.

asked 24 Feb '11, 06:10

psn's gravatar image

accept rate: 0%

edited 24 Feb '11, 11:26

Pieren's gravatar image


Can you provide more details about your problem? The code in the example you mention in the first point I cut and pasted into a new web page and it seems to work fine - I uploaded it to but it also worked on my local drive.

Incidentally, have you also seen the OpenLayers alternative example in case that is of use? (and other examples in the same category) I played with that here: (I realise it doesn't display correctly at present, but the data displayed is also outdated)

permanent link

answered 24 Feb '11, 09:06

EdLoach's gravatar image

EdLoach ♦
accept rate: 22%

edited 24 Feb '11, 09:11

An answer to your orginal question (in the title) is there :

The simplest way to get a marker is to click 'permalink', then modify lat and lon to mlat and mlon respectively. If you want the marker to appear in a specific position without knowing the exact coordinates, simply double-click a point on the map. The map will be zoomed in to that point and the point will be centered.

The content of your question seems to not concern OSM.

permanent link

answered 24 Feb '11, 11:40

NicolasDumoulin's gravatar image

accept rate: 13%

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 24 Feb '11, 06:10

question was seen: 9,668 times

last updated: 24 Feb '11, 11:40

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