Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a custom symbology renderer with a geojson Feature Server #312

Closed
jptheripper opened this issue Feb 7, 2018 · 1 comment
Closed
Labels

Comments

@jptheripper
Copy link

I am running a simple provider that reads geojson from a url and creates a featureserver. I am trying to predefine the symbology using a unique value renderer

I cant seem to find where to pass the renderer info.

If i edit the point.json file in
\node_modules\featureserver\templates\renderers\symbology\point.json

It works perfectly, however that affects all featureServers.

@rgwozdz
Copy link
Member

rgwozdz commented Jun 2, 2024

This is possible now by setting property geojson.metadata.renderer in the getData method's result of a provider.

@rgwozdz rgwozdz closed this as completed Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants