-
Notifications
You must be signed in to change notification settings - Fork 918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map is not able to be dragged or zoom #2665
Comments
do not know why but my html do not want to be posted |
Please read this page BEFORE posting your question. |
I formatted the code. I have tried to add draggable property into mapOptions but it hasnt helped |
Thank you. I think the problem is in your HTML structure. Please share your project files on GitHub repository in order to inspect your app. |
I can share it on bitbucket, is this ok? |
Created test project and invited you. The problem is on the page reg-continue. Should load this page right away |
@wf9a5m75 have you walk through my issue already? |
Not yet. I'm busy person. I check many issues not only yours but also other people's, one by one. |
I built your app, but I couldn't read your language. Could you change your app code, just display a map page? |
@wf9a5m75 when you will be able to check? or give some possible reasons of the problem, so i can check it by myself |
Sorry for late, but I don't have enough private time . @adamduren is a good contributor and he has good knowledge. |
@traktor2017 Happy to take a look |
sent the invite already |
@traktor2017 I made a pull request which demonstrates making the map scrollable. The reason for this is that the map will not be scrollable if within a @wf9a5m75 Can you explain the reasoning behind excluding these tags? |
I don't remember why
|
@wf9a5m75 Thank you for the explanation. I recently encountered this as well. Maybe we should document in the readme if not already elsewhere for this exclusion. I would see it as a fairly common pattern for a map to be in a If it is documented then that might help resolve confusion for now. Future changes might be to do a walk up the dom tree from where the app element is located and remove from the ignored tags if an ignored tag an ancestor. Pseudo Algorithm:
I know it's more complicated than this as it would have to be per map instance but just a cursory idea for a solution that eventually caters to supporting more tags.. |
I confirmed The tags are defined long time ago, but the implementation have updated. I update the code on the multiple_maps branch. |
Thank you guys very much! |
I'm submitting a ... (check one with "x")
OS: (check one with "x")
cordova information: (run
$> cordova plugin list
)If you use
@ionic-native/google-maps
, please tell the package.json (only@ionic-native/core
and@ionic-native/google-maps
are fine mostly)Current behavior:
When i launch the app on my android device - it is shown, even position is perfectly set but right after map is not moving at all and if a set a different position of a marker - it is still does not move, camera does not move. I tried event like MAP_CLICK - does not work.
Expected behavior:
I can easily drag or zoom or whatever what can i do with map. on the browser when ionic cordova run browser everything works perfectly.
Screen capture or video record:
I send a video archived - th ebehavior on the phone
video_2019-07-31_09-58-24.zip
Related code, data or error log (please format your code or data):
That is my ts file functions related to the map
That is my html where map is set
The text was updated successfully, but these errors were encountered: