Replies: 1 comment 1 reply
-
|
Hey! Thanks for your message! Sadly i am not the original author of Feliz.Pigeonmaps and just took over maintainance for the core library. With a quick look over the code example: import { Map, GeoJson, GeoJsonFeature } from "pigeon-maps";
const geoJsonFeatureSample = {
type: "Feature",
geometry: { type: "Point", coordinates: [2.0, 48.5] },
properties: { prop0: "value0" },
};
const MyMap = () => (
<Map height={300} defaultCenter={[50.879, 4.6997]} defaultZoom={4}>
<GeoJson
svgAttributes={{
fill: "#d4e6ec99",
strokeWidth: "1",
stroke: "white",
r: "20",
}}
>
<GeoJsonFeature feature={geoJsonFeatureSample} />
</GeoJson>
</Map>
);It looks like these are just more There are also some guides for writing JS bindings in fable/feliz in the feliz docs. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I'm trying to color in countries using GeoJSON features. Is there a way to access the GeoJSON API through Feliz?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions