Why not ask your question on the new OpenStreetMap Community Forum?

I found an issue on my phonegap app when i tried to execute something from marker's event mousedown. Same code works on web application.

Application init map, center, draw all markers, but it does not execute my code on mousedown event.

var marker1= new OpenLayers.Marker(position, icon_nodisp.clone()); marker1.events.register('mousedown', marker1, function() { alert('hola marker'); }); taxisLayer.addMarker(marker1);

please help me!!!

asked 26 Apr '13, 23:52

juanrod1's gravatar image

juanrod1
1111
accept rate: 0%

what is "phonegap"? Are you using Openlayers? So this question is about Openlayers?

(27 Apr '13, 01:52) aseerel4c26 ♦

Phonegap supports a whole bunch of platforms - which one (and which OS version of it) are you having a problem with, and which Phonegap / Cordova version? Also, are you testing on a real device or some sort of simulator / emulator?

(27 Apr '13, 02:02) SomeoneElse ♦
Be the first one to answer this question!
toggle preview

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:

×98
×4
×1

question asked: 26 Apr '13, 23:52

question was seen: 2,138 times

last updated: 27 Apr '13, 02:02

powered by OSQA