Giter Site home page Giter Site logo

Comments (8)

wf9a5m75 avatar wf9a5m75 commented on May 13, 2024

I'm sorry, but it is not supported yet.

from cordova-plugin-googlemaps.

fabriziogiordano avatar fabriziogiordano commented on May 13, 2024

do you think it is technically possible to implement such feature?
or the way you build the container you have to take over the whole screen and therefore override other buttons?

from cordova-plugin-googlemaps.

wf9a5m75 avatar wf9a5m75 commented on May 13, 2024

There is a technical problem for this feature right now. The map view inside the WebView of Android does not stay at the same position when the device orientation is changed.
I have always wanted this feature, but I've never done it.

from cordova-plugin-googlemaps.

fabriziogiordano avatar fabriziogiordano commented on May 13, 2024

I was playing with the iOS version and changing the CGRectMake of the GoogleMaps.m it is possible to "position" the map on the screen.

I am trying to check if there is some way for Android. (If the issue is on device orientation change can you show how to still position the map. I might be happy to disable the orientation of the app but have the map in a particular position on the page).

Thanks

from cordova-plugin-googlemaps.

wf9a5m75 avatar wf9a5m75 commented on May 13, 2024

This feature will be available in the next version.

from cordova-plugin-googlemaps.

wf9a5m75 avatar wf9a5m75 commented on May 13, 2024

This feature finally available in v1.0.7.

var div = document.getElementById("map_canvas");
var map = plugin.google.maps.Map.getMap(div);

from cordova-plugin-googlemaps.

fabriziogiordano avatar fabriziogiordano commented on May 13, 2024

Is this available for Android as well? BTW Great Job!!!

from cordova-plugin-googlemaps.

wf9a5m75 avatar wf9a5m75 commented on May 13, 2024

Thank you. The embed feature works on Android as well.

from cordova-plugin-googlemaps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.