amphtml
amphtml copied to clipboard
Can we customize google map in amp.
Description
I have following requirement:
- I want to load google map inside amp page.
- On page load I will query json data and get multiple dynamic marker location.
- I want to pin these marker to there location.
- I want to draw a custom radius of xKM around my markers.
- I want to add custom resize functionality for the circle.
- Then on some user action, update the markers.
- Drag and drop circle to any location and pin marker inside the circle. Similarly I have few more use cases, But I want to know, if and all these implementations are achievable using amp?
Reproduction Steps
I have following requirement:
- I want to load google map inside amp page.
- On page load I will query json data and get multiple dynamic marker location.
- I want to pin these marker to there location.
- I want to draw a custom radius of xKM around my markers.
- I want to add custom resize functionality for the circle.
- Then on some user action, update the markers.
- Drag and drop circle to any location and pin marker inside the circle. Similarly I have few more use cases, But I want to know, if and all these implementations are achievable using amp?
Relevant Logs
No response
Browser(s) Affected
No response
OS(s) Affected
No response
Device(s) Affected
No response
AMP Version Affected
No response
If possible, you should render the widget inside an amp-iframe. Inside the loaded document, you can do whatever you want without using AMP, including loading the Google Maps JS API.
ok. Thanks.