Ionic 2 rc1 - Google maps is not visible anymore - google-maps

I'm developing a simple app with google maps and I update ionic version from RC0 to RC1.
After this update, (google) maps is not visible anymore.
I use a cordoba-plugins-googlemaps and google key is correct and enabled.
I'd like to be more accurate, but I do not know where to look for the problem (I checked ionic consolelogs and log, with catlog, on my android smartphone).
Someone else has had the same problem and solved it?
Regards
matpil

I found the solution.
Problem is not google maps but ion-card.
Seems that a "google maps" insert into a doesn't works.
I had removed ioc-card and maps works fine.
Hope this can be useful...
Regards
matpil

Related

The native map in ionic 3 doesn't work

I followed this repo to create the google map native in Ionic
ionic google maps demo
I can not debug to see what's happened, only white screen.
I used native/core: 4.7.0 and #ionic-native/google-maps: ^4.7.0 and cordova-plugin-googlemaps: 2.2.9.
I enabled google map API already, and get the right key
Are you testing it on the browser? cordova-plugin-googlemaps is a native plug-in and cannot be view on browser. For testing, you will need to build it and test it on your device.
Read more here: https://ionicframework.com/docs/v1/guide/testing.html

Does "applemaps-x-callback://" exist?

Google Maps provides a convenient URL scheme:
comgooglemaps-x-callback://
for using when firing Google Maps from an iOS app.
Does Apple Maps provide the same kind of feature.
If yes I would like to find some short sample code, in order to know how to use it.
I did some research, but didn't notice any thing similar.
I have looked for the same functionality in Apple Maps. It doesn't seem possible. Apple's documentation of the maps URL scheme does not show anything like this:
https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html

Google maps in Morocco

I would like to use Google maps in a Webapp that is targeted for Moroccans, the thing is the map works fine but the borders for Morocco is not complete. it's a political issue and I'm afraid that is going to cause problems for me. My question is: Is it possible to load in my App a different map that shows the Moroccan perspective of the borders knowing that I've seen it before in a GPS App that uses Google Maps. I tried using a different domain like maps.google.co.ma instead of maps.google.com but it didn't work.
Thanks a lot!
Just set region:"MA" in your API call options
if you're using a link
https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&region=MA

Google maps custom map tile/overlay and controls

How did Apple make the custom map tile/overlay and controls for iCloud's Find My iPhone Web App.
It has a really nice grid on top of the map and the zoom controls etc are all custom.
Maybe I missed it in the docs but couldn't seem to find it.
For anybody's reference if they stumble across this question.
The answer is in the docs here - http://code.google.com/apis/maps/documentation/javascript/v2/overlays.html#CustomMapTiles
The answer is above for the deprecated JavaScript API v2, which will stop working on November 19th 2013. This is the equivalent for v3:
https://developers.google.com/maps/documentation/javascript/controls#CustomControls

GoogleMaps API v3 scrolling with mousewheel does not work

Has anyone found a fix for this?
it seems this has been implemented in the official release by google since I posted this question
This functionality isn't supported by the v3 API yet. See the Feature Request: Add Scroll wheel zoom in v3.
It looks like someone has created a utility to add this functionality:
http://google-maps-utility-library-v3.googlecode.com/svn/tags/scrollwheelzoom/1.0/