[英]how to set Spiderfier Marker's icon on angular google map
我嘗試使用包 agm-oms( https://www.npmjs.com/package/agm-oms ) 在谷歌地圖上實現標記蜘蛛俠。 我按照 ( https://github.com/SebastianM/angular-google-maps/pull/1329 ) 中的說明進行操作。 ...
[英]how to set Spiderfier Marker's icon on angular google map
我嘗試使用包 agm-oms( https://www.npmjs.com/package/agm-oms ) 在谷歌地圖上實現標記蜘蛛俠。 我按照 ( https://github.com/SebastianM/angular-google-maps/pull/1329 ) 中的說明進行操作。 ...
[英]Set custom properties for <agm-marker> for filtering?
我在agm地圖上顯示了一系列的ammm標記,如下所示: <agm-map [latitude]="mapCenterLatitude" [longitude]="mapCenterLongitude" [zoom]="getMapZoom()" [mapTypeId]="' ...
[英]How to switch between street map to satellite map in Angular 4
我正在使用 Angular 4 應用程序,在這里我想添加一個地圖視圖,因為我已經默認使用街景視圖開發了地圖。 現在我想向用戶添加一個選項,他們可以在街景和衛星視圖之間切換。 HTML 打字稿 誰能幫我得到這個.. ...
[英]simplest way to get current location in Angular 2 Google Maps (AGM Core)
這個問題可能有重復,或者我想要的答案已經在其他一些問題中得到了回答,但無論如何我還是會問。這是一個非常基本的問題,但我也想要最簡單(最簡單)的方法來實現這一點我想要做的是獲取執行我的應用程序的設備的當前位置。我已經看到了使用地理位置的其他答案,但我不太明白如何將它實施到 AGM,因為我對 ionic ...
[英]how to add Dragable marker for Angular2-google-maps in ionic application
我已經在應用程序中實現了Angulatr2-google-maps的自動完成位置搜索功能,但是這對我來說並不好。我希望可以將標記拖動或移動並放置到確切的位置上,但是我卡住了,因為對我沒有用這里。 ...
[英]angular2 google map infowindow opens so many times and it starts lagging
我正在使用angular-google-map 。 在該項目中,我創建了數百個標記,並且所有標記共享一個信息窗口。 以下是模板中的代碼: 在開始時,它運作良好。 但是當我將鼠標懸停在許多標記上時,它開始變慢。 這是性能和內存的屏幕截圖: 看來垃圾回收會減慢頁面速 ...
[英]Angular 2 agm library for google maps setting place by place id
我正在一個頁面中實現一個谷歌地圖,其中一個地方ID傳遞給我,然后我需要獲得這樣的地方ID並加載該標記的地圖。 我正在瀏覽文檔,但不清楚如何從<agm-map>標記中定位地圖對象,以便我可以設置地點ID。 以下是代碼的一部分: 然后在html文件上我有這樣的事情: ...
[英]add button into google maps Angular2
我是Angular的新手,並且有一個可顯示全屏Google地圖的網絡應用。 我想在Google地圖布局中添加一個“注銷”按鈕(而不是標題)。 我知道使用javascript Google Maps Api,這可能像: var Logout = document.getElementBy ...
[英]Add dynamic line using angular2 google maps
我目前正在使用https://github.com/SebastianM/angular2-google-maps附加的 Angular Google Maps 鏈接,我的要求是當用戶單擊按鈕時使用agm-polyline繪制動態線,它會在地圖上放置一個帶有緯度和經度,現在我想使用相同的 linee ...
[英]ngfor with agm-circle throws error : Angular2
我正在使用agm ( angular google maps )並想使用 ngfor 繪制n個圓圈,但出現錯誤: 這是我的 html: 這是我的ts文件,其中包含數據: 至於這些是虛擬數據,但這個圈子的數據將是n任何建議將不勝感激 ...
[英]Angular 4 - Google map height fill remaining space
我在我的 angular 4 應用程序中使用https://github.com/SebastianM/angular-google-maps 。 我必須在 CSS 中指定地圖高度,像這樣,否則地圖不會顯示: <agm-map>可以填充父容器中的剩余空間? PS:我更喜歡使用 ...
[英]How to set Google map to 2d with Angular2-Google-Maps
我已經使用 Angular 4 安裝了 Angular Google Maps。 模板很簡單: <agm-map [latitude]="58.150587" [longitude]="7.978571" [zoom]="19" [mapTypeId]="'satellite'">& ...
[英]setCenter not working in angular2-google-maps
也嘗試過 panTo ,結果相同。 ...
[英]How to add a label to circles in google map angular 2 - sebm-google-map-circle component?
我試圖在使用sebm-google-map-circle angular2組件繪制的圓圈中間添加文本。 似乎並不容易。 如果有人知道,請告訴我。 非常感謝 ...
[英]angular2-google-maps@0.17.0 requires a peer of @angular/common@^2.3.1 but none was installed
我的應用程序中出現此錯誤。 angular2-google-maps@0.17.0需要一個@ angular / common @ ^ 2.3.1的同位體,但未安裝。 我該如何解決? ...
[英]Angular 2 with angular2-google-map
我想問有關angular 2中angular2-google-map的問題。我已按照https://angular-maps.com/docs/getting-started.html中的說明進行操作。 運行“ ng serve”會出現以下錯誤: 在此處輸入圖片說明 我正在四處挖掘 ...
[英]Ionic 2 : ng2-map info window not opening
由於我是Ionic 2的新手,因此在ng2-maps中存在問題。 html端的代碼: 在打字稿方面 現在,我正在嘗試自定義信息窗口,但未打開並顯示錯誤: 任何幫助將不勝感激 ...
[英]Modify sebm-google-map-marker using an angular2 directive
我正在使用angular2-google-maps https://angular-maps.com/構建帶有標記的google地圖。 我要實現的目標是創建一個使用用戶社交媒體個人資料圖片進行自定義的標記。 我將使用以下代碼: JS Maps v3:帶有用戶個人資料圖片的自定義標記 為 ...
[英]Get Google Map Marker Position on Screen
有沒有辦法獲取Google Map API標記的邊界矩形(屏幕位置)? 我使用的是Angular 2包裝器,因此,我不會像通常使用API那樣構造標記(不過,在這里基本上不相關)。 還是它們在內部畫布上無法像html元素那樣拉出位置? 我已經嘗試過類似的操作,但是getBound ...
[英]Dynamically show/hide markers on angular2 google map
有沒有一種方法可以在單擊諸如按鈕之類的東西時顯示/隱藏標記的infoWindow。 我有一種情況,我從地圖上的JSON加載了標記和infoWindow內容,並在頁面上具有了相關圖像。 我需要在單擊圖像時顯示相應的infoWindow。 單擊地圖上的標記時,我可以看到infoWind ...