Hey Rics, could you please open an issue on
https://github.com/jonataswalker/ol3-contextmenu/issues?
It is the right place for this conversation.
Have a good day,
Jonatas Walker
On Thu, Nov 24, 2016 at 3:33 AM, Rics via OL3 Dev <
ol3-dev+apn2wqfzqnsv1ghhp22dwhk83wpvxjfnm8wbc9yf9f-w8jlxozw4t...@googlegroups.com
> wrote:
> Hi Jonatas,
>
> Can you please let me know, after i install ol3-contextmenu, what do i
> import to access 'ContextMenu' in angular2?
> import { ContextMenu } from ??
>
> Actually i am getting compilation error on 'ContextMenu'..
>
> Thanks
>
> On Saturday, January 23, 2016 at 12:58:45 AM UTC+5:30, Jonatas Walker
> wrote:
>>
>> I wrote a plugin to this need. Take a look if you want.
>> https://github.com/jonataswalker/ol3-contextmenu
>>
>> Best regards.
>>
>> Em terça-feira, 4 de novembro de 2014 11:16:40 UTC-2, Onox escreveu:
>>>
>>> Hi,
>>>
>>> Is it possible to listen to the 'contextmenu' event on a map object ?
>>> For me the following does nothing at all (with 'dblclick' instead, it
>>> works) :
>>>
>>> map.on('contextmenu', function(evt) {
>>> var feature = map.forEachFeatureAtPixel(evt.pixel,
>>> function(feature, layer) {
>>> return feature;
>>> });
>>> if (feature) {
>>> evt.preventDefault();
>>> // ...
>>> }
>>> });
>>>
>>> I am using version 3.0.0.
>>> Thanks
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "OL3 Dev" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/ol3-dev/yCgIcbURw9M/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/ol3-dev.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/ol3-dev/1cfe4c46-adfb-44e5-8fcb-38ed4e4e8e48%40googlegroups.com
> <https://groups.google.com/d/msgid/ol3-dev/1cfe4c46-adfb-44e5-8fcb-38ed4e4e8e48%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups "OL3
Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ol3-dev.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ol3-dev/CAK9AzgX5MtEHKj40gxpA1ewVC80Mv7riDP_WW20d%2BMBYoMUJ8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.