Skip to main content

All Questions

Tagged with
-2 votes
2 answers
246 views

Geolocation value retuned from service is undefined

I have placed the geolocation call in a service which I want to use in different areas of the application. However, undefined is being returned. How do I return the value properly so that it can be ...
A.Mac's user avatar
  • 245
1 vote
0 answers
342 views

In ionic 3 Ionic - Autocomplete location of Google places is detached from input box when we scroll down

in ionic we are using ionic geolocation for google maps…In input of search box when we search any place and then after scroll down to app then autocomplete also scroll and detached from input search ...
Dinesh Gurjar's user avatar
1 vote
0 answers
118 views

how to add button in google map infowindow in ionic 3 application

This is the part of code in my ionic 3 application. google.maps.event.addListener(polygon, 'click', (event)=>{ if (event) { point = event.latLng; ...
lei lei's user avatar
  • 1,821
-2 votes
1 answer
27 views

Custom markers icons not displayed on android [closed]

I have this code : this.service.getListe(data).forEach((data: any) => { const marker: Marker = this.map.addMarkerSync(data); marker.on(GoogleMapsEvent.MARKER_CLICK).subscribe((params) =&...
frint's user avatar
  • 851
1 vote
1 answer
240 views

Open popup when click on marker

I have this code : popupIsOpen = false; const marker: Marker = this.map.addMarkerSync(markerData); marker.on(GoogleMapsEvent.MARKER_CLICK).subscribe(this.markerClick); markerClick(params: any) { ...
frint's user avatar
  • 851
0 votes
2 answers
311 views

Dynamic Long Lat Google Maps embed in Ionic 3

i am a beginner in ionic 3 I am trying to embed a Google map on my ionic 3 with dynamic long lat using Json but I had trouble and got an error Error: unsafe value used in a resource URL context this ...
R.Drum's user avatar
  • 75
-2 votes
1 answer
606 views

Google maps API Autocomplete: output only cities of specific state [duplicate]

I'm developing cab booking app using ionic-3 framework. I have used Google maps API Autocomplete in my app and its working fine but i want to display cities and place of only specific state (my cab ...
Sandip Moradiya's user avatar
0 votes
1 answer
624 views

getting location TypeError: _this.map.addEventListener is not a function in ionic

Am trying to get the coordinates of location when drag the marker in map. For that i'm using addEventListener and also tried this.map.one() , this.map.on() methods too, to get the latitude and ...
Meena Arumugam's user avatar
0 votes
0 answers
111 views

Route playback using ionic cordova google map

I already had the set of gps coordinates and using those gps coordinates to display the vehicle where it was travelled at that time. I have to show the vehicle movement on google map as like a video. ...
user785's user avatar
0 votes
0 answers
222 views

How to remove one marker from markerCluster

I am using Ionic 3 with @ionic-native/google-maps (https://github.com/ionic-team/ionic-native-google-maps/blob/master/documents/README.md). I am using markerCluster to populate the map with markers. ...
Acnud's user avatar
  • 11
1 vote
0 answers
37 views

document doesn't works for map display

I am trying to use a traditional document to display a google map in my ionic app, but it doesn't work. If i use mean of viewChild, it works well. Can you tell me what is wrong in my code. The code ...
lei lei's user avatar
  • 1,821
0 votes
0 answers
28 views

Ionic 3 Cannot find name 'google' on first load

I am working on Ionic 3 and when I try to load the google package, just on the first time to run the project, it fails because it does not find the name 'google'. I supose that the problem is I don't ...
Joan's user avatar
  • 243
1 vote
0 answers
96 views

SetIcon on cordova-plugin-googlemaps throws an error on iOS and freeze the screen only the first time

I'm trying to change the icon (image and size) using setIcon, On Android, it works nice but on iOS it changes but the first time I execute the code the map freeze, after that the map is not frozen ...
Killian Perea Ruiz's user avatar
1 vote
2 answers
149 views

Add multiple markers on map on ionic 3

Does anyone know how to edit the code to show multiple markers on the map? DisplayMap(){ const location = new google.maps.LatLng('1.330110','103.854800'); const options = { center:location, ...
Myung's user avatar
  • 41
2 votes
1 answer
2k views

Getting error - ERROR TypeError: Cannot read property 'constructor' of undefined - in IONIC Native Google Maps

I have integrated the Google Map in my Ionic 3 app and it was working perfectly, but after some time it stopped working. It gives me error ERROR TypeError: Cannot read property 'constructor' of ...
Alpesh Trivedi's user avatar

15 30 50 per page
1
2 3 4 5
10