[Spanish] FW: Control Click en Markers OL
Antonio Santiago
asantiagop at gmail.com
Fri Nov 25 11:23:37 EST 2011
Envie demasiado rapido.
En la clase 'OpenLayers.Events' tienes definidos los posibles eventos a
registrar:
/**
* Constant: BROWSER_EVENTS
* {Array(String)} supported events
*/
BROWSER_EVENTS: [
"mouseover", "mouseout",
"mousedown", "mouseup", "mousemove",
"click", "dblclick", "rightclick", "dblrightclick",
"resize", "focus", "blur",
"touchstart", "touchmove", "touchend"
],
Saludos.
2011/11/25 Antonio Santiago <asantiagop at gmail.com>
> Creo que este ejemplo te puede servir:
> http://openlayers.org/dev/examples/markers.html
>
> Basta con cambiar el evento de mosuedown a click
> marker.events.register('click', marker, function(evt) {
> console.log(this.icon.url);
> OpenLayers.Event.stop(evt);
> });
>
> Saludos.
>
>
> 2011/11/25 Gustavo Jarrín <gusjarrin at hotmail.com>
>
>> Hay alguien ahi?
>>
>> Alguna sugerencia?
>>
>> Gracias
>>
>> Gustavo
>>
>> ------------------------------
>> From: gusjarrin at hotmail.com
>> To: spanish at lists.osgeo.org
>> Subject: Control Click en Markers OL
>> Date: Thu, 24 Nov 2011 10:07:20 -0600
>>
>>
>> Saludos lista,
>>
>> Es posible agregar el Control.Click a una marca (markers)???? como??
>>
>> No el evento "mousedown" ya que este se activa tanto para el evento click
>> y dobleclick. Yo necesito diferenciarlos para q click abra el popup y
>> dobleclick haga zoomin.
>>
>> Mil garcias x cualquier ayuda.
>>
>> Gustavo
>>
>> _______________________________________________
>> Spanish mailing list
>> http://lists.osgeo.org/mailman/listinfo/spanish
>> http://es.osgeo.org
>> http://twitter.com/osgeoes
>>
>>
>
>
> --
> |----------------------------------------------------------------
> | Web Page: http://www.acuriousanimal.com
> | Blog: http://www.acuriousanimal.com/blog
> | Twitter: @acanimal <http://twitter.com/#%21/acanimal>
> |----------------------------------------------------------------
> | A crazy mix site: http://www.astracanada.net
> | Old Virtual Globe project:http://theballoonproject.blogspot.com
> |----------------------------------------------------------------
> | _ __
> | /_) (_ ` _ _ _)_ o _ _ _
> | / / o .__) (_( ) ) (_ ( (_( (_( (_)
> | _)
> |----------------------------------------------------------------
>
>
--
|----------------------------------------------------------------
| Web Page: http://www.acuriousanimal.com
| Blog: http://www.acuriousanimal.com/blog
| Twitter: @acanimal <http://twitter.com/#%21/acanimal>
|----------------------------------------------------------------
| A crazy mix site: http://www.astracanada.net
| Old Virtual Globe project:http://theballoonproject.blogspot.com
|----------------------------------------------------------------
| _ __
| /_) (_ ` _ _ _)_ o _ _ _
| / / o .__) (_( ) ) (_ ( (_( (_( (_)
| _)
|----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/spanish/attachments/20111125/9879faef/attachment.html
More information about the Spanish
mailing list