Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter foormea

    (@foormea)

    I tried deactivating all my other plugins, the issue persists with only the OSM plugin enabled. As soon as I disable the plugin, /wp-json/wp/v2/pages returns valid JSON data.

    Thread Starter foormea

    (@foormea)

    It’s working indeed, nice! Thank you ?? (although I’m now programmatically updating my blog, not relying on manual edits for wp-strava blocks ^^)

    I meant to message you a few days ago about a feature request but I thought I’d look into it first. But since we’re talking, here’s what I wanted to say ??

    I’ve been thinking about modifying the plugin so that a browseable map from OpenStreetMap would be displayed instead of a static bitmap from Google. I had a look at the code, it feels like it wouldn’t take that much to adjust. To display an OSM map, we could rely on the already-existing OSM plugin, or display using leaflet. I don’t think the OSM plugin can take a polyline as input, only a GPX ; so it might be easier to just go for leaflet which can take polylines. Also leaflet might give more flexibility down the line.
    Trickier would be to give the user the choice between Google bitmap or dynamic OSM map?

    I have very little background with WordPress and I don’t know PHP. Maybe with a bit of time I could come up with something.

    Before I try and get started on this (with zero promise that I’ll actually do it), is it something you’ve explored already, is there a reason not to do it?

    Thank you!

    • This reply was modified 3 years, 2 months ago by foormea.
    • This reply was modified 3 years, 2 months ago by foormea.
    Thread Starter foormea

    (@foormea)

    Nevermind me, WordPress noob here. By starting to type / then strava I could access the Strava blocks, then it works as expected! Thanks for this plugin, and sorry for the noise.

Viewing 3 replies - 1 through 3 (of 3 total)