staticMap not showing up
See original GitHub issueI have a fresh checkout as of today. I have modified main.js of examples/simple/main.js with this staticMap however the maps is being displayed.
schema: {
fields: [
{
type: "staticMap",
label: "Map",
model: "address.geo",
visible: false,
staticMapOptions: {
lat: "latitude",
lng: "longitude",
zoom: 6,
sizeX:640,
sizeY:640,
scale: 1,
format:"png",
// maptype:"satellite",
language:"FR-fr",
// region:
markers:"color:blue%7Clabel:S%7C43.107733,4.541936",
// path:
// visible:
// style:"feature:road.highway%7Celement:labels.text.stroke%7Cvisibility:on%7Ccolor:0xb06eba&style=feature:road.highway%7Celement:labels.text.fill%7Cvisibility:on%7Ccolor:0xffffff",
// key:
// signature:
}
},
{
type: "input",
inputType: "text",
label: "ID",
model: "id",
readonly: true,
featured: false,
disabled: true
},
]

Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Google Static Map API - custom marker not showing up
I have marker location defined (from this example) ...
Read more >Google static map not showing (Example) - Treehouse
I am using this code to try and implement the static google maps The google maps api v3 is activated on my account....
Read more >Markers are not showing up on my static map - OutSystems
Markers are not showing up on my static map. Question. Maps. I believe I have followed all the right steps. 1. Created a...
Read more >Google Map static image isn't showing up on main p...
Google Map static image isn't showing up on main page when selecting sites. 03-12-2018 10:08 AM. Hello,. I'm extremely new to Power Apps,...
Read more >bondz/react-static-google-map - GitHub
If the location is off the map, that marker will not appear in the constructed image ... <img src="https://maps.googleapis.com/maps/api/staticmap?size= ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s the scale factor.
Unfortunately, I can’t provide assistance with the Google Maps API as I haven’t used it in quite some time. The VFG Docs should provide the necessary links and information you need to get started though.
https://icebob.gitbooks.io/vueformgenerator/content/fields/staticmap.html
This refers to https://developers.google.com/maps/documentation/static-maps/intro and states that the “key” property for staticMapOptions is where you would place your key, you may also require the “signature” property depending on your Google Maps account setup.