google map with styles, not work when add marker in ionic 2
hi
When I put a marker on a map that has custom styles in mapOptions I only have the marker and the map with the specific style only a brief moment appears the custom map and then it is gray when i test the APK in the device, only the marker appears, when I comment styles, the map is normal display with marker, or comment the marker shows the map with the styles.
Why does that mistake happen?
Hi,
I’m not too familiar with Ionic 2. It seems possible from this blog post:
https://www.christianengvall.se/ionic2-google-maps/
As for your issue, does it work with the simplest style possible (just one feature and one style)? Could it be the format of the JSON object? Maybe incorrect quotes or missing semi colon?
Let me know if you figure it out.
-
AdminAdam Krogh (Admin, SnazzyMaps) commented
Hi,
I'm not too familiar with Ionic 2. It seems possible from this blog post:
https://www.christianengvall.se/ionic2-google-maps/
As for your issue, does it work with the simplest style possible (just one feature and one style)? Could it be the format of the JSON object? Maybe incorrect quotes or missing semi colon?
Let me know if you figure it out.