Google Maps Extended geoJSON colors all black

I’m using the Google Maps Extended plugin, which allows the addition of geoJSON layers.

The layers show up as intended, except none of the style properties are respected.

In the following example, I have a geoJSON object that draws a 20px thick green line between two points. (This JSON works in several geoJSON sandboxes, including http://geojson.io.)

{
      "type": "Feature",
      "properties": {
        "stroke": "#00FF00",
        "stroke-width": 20,
        "stroke-opacity": 1
      },
      "geometry": {
        "type": "LineString",
        "coordinates": [
          [
            -134.9177601,
            63.7806512
          ],
          [
            -128.943421,
            61.5740661
          ]
        ]
      }
    }

Instead, Maps Extended draws a 2px thick black line between the two points.

I’ve checked the official geoJSON spec, and it doesn’t seem to define standards for styling, so my guess is that there are several competing standards for rendering color onto these objects.

Has anyone had success rendering colorful geoJSON with this plugin?

Thanks in advance!

5 Likes

Hello!
Tell me, please, did you to solve this problem?
Thanks!

same issue here

Same issue - anyone have any luck yet?

Sorry for my english, i’m french. But i find a solution.
I Upload my .json file in my database.
Workflow “Data Add Geojson” → method “File” → Insert link (link from your database)
After you go to " Style overrides " and insert strokecolor=#A52A2A

You can chose your color