-1

hai,

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 http://wiki.openstreetmap.org/wiki/Google_Maps_Example 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

psn
54448
accept rate: 0%

edited 24 Feb '11, 11:26

Pieren's gravatar image

Pieren
9.7k2075157


2 Answers:
1

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 http://www.loach.me.uk/osm/googletest.htm but it also worked on my local drive.

Incidentally, have you also seen the OpenLayers alternative example in case that is of use? http://wiki.openstreetmap.org/wiki/Openlayers_POI_layer_example (and other examples in the same category) I played with that here: http://www.loach.me.uk/tendringcamra/ (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 ♦
18.4k15148267
accept rate: 23%

edited 24 Feb '11, 09:11

1

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

NicolasDumoulin
3.3k42256
accept rate: 13%

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:

×79

question asked: 24 Feb '11, 06:10

question was seen: 7,210 times

last updated: 24 Feb '11, 11:40

powered by OSQA