question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

using the sdk with angular 2

See original GitHub issue

Hi, I managed to use the plugin with angular2 but I am not able to add the event listeners on the map tag

(markerSelect)="onMarkerSelect"
(cameraChanged)="onCameraChanged"

I added brackets because thats how it should be in angular (I also tried without) but the functions do not seem to be called.

Anyone has any idea?

Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
FranciZcommented, Jan 8, 2018

@denkomanceski Hey, could you share how you managed to get this working. Below is my code that I can’t get to work.

<MapView (mapReady)="onMapReady($event)"
                   (markerSelect)="onMarkerEvent($event)"
                   [latitude]="latitude"
                   [longitude]="longitude"
                   [zoom]="zoom"></MapView>
0reactions
Julio77commented, Apr 9, 2018

Hello, any way to execute something after the marker selection is removed ?, for example, I want to show some controls when the marker is selected, this part I already have, but when I remove the marker selection and click on the map I do not know how to execute code to hide my views.

Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular 2 SDK | LoopBack Documentation
The loopback-sdk-builder module enables you to create an Angular 2 client SDK for a LoopBack application. It is a community module forked from...
Read more >
Importing AWS SDK in Angular 2 Application - Stack Overflow
I am attempting to use the AWS SDK in my Angular 2 application and am getting quite stuck. Here are the steps I...
Read more >
Getting Started with the PubNub Angular 2 SDK (Part One)
How to get started with the new PubNub Angular 2 SDK, including publish/subscribe messaging and message history for chat.
Read more >
Address Book for Angular 2 - GitHub
This repo contains a sample address book application for Angular 2 that demonstrates how to use the DreamFactory REST API. It includes new...
Read more >
Build your Angular 2 App: From Auth to calling an API - Auth0
Aside: Using Angular 2 with Auth0 · Step 0: Sign Up for Auth0 · Step 1: Add Auth0Lock to Your App · Step...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found