question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

staticMap not showing up

See original GitHub issue

I 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
				},
			]

bildschirmfoto 2018-01-25 um 12 51 05

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
zopyxcommented, Jan 25, 2018

It’s the scale factor.

0reactions
zoul0813commented, Jan 25, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found