Removing google map native from ionic


#1

what is this??? suddenly you deleted google map plugin from ionic web site??? why?? what can I do now?
it was in this address now it is gone!!! in middle of my project delivering???
https://ionicframework.com/docs/native/google-maps/


#2

See What about google maps?


#3

Well, the ionic-native/google-map is still member of the @ionic-native/google-maps.

But the repository is moved out from the main repository.
That’s why the document page is gone.
(I also surprised today)

I created new documents at here.


#4

Ok, I installed this but this part is not working:

      this.map.getMyLocation()
        .then((location: MyLocation) => {
          console.log(location);
          //console.log(JSON.stringify(location, null, 2));

          // Move the map camera to the location with animation
          return this.map.animateCamera({
            target: location.latLng,
            zoom: 17,
            tilt: 30
          }).then(() => {
            // add a marker
            this.locationlatlng = location.latLng;
            return this.map.addMarker({
              title: '@ionic-native/google-maps plugin!',
              snippet: location.latLng.toString(),
              position: location.latLng,
              animation: GoogleMapsAnimation.BOUNCE
            });
          })
        });

and i mean it, it doesn’t even push any errors!
why??? it doesn’t even show the console logs!


#5

Since I can’t see your code overall, it’s not enough information, but this plugin does NOT support the browser platform.
You need to execute on actual device or emulator(simulator).

And also did you install this plugin?

Even you can’t solve your problem by yourself, please share your project files on Github or other git repository services.