cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
polo1604
Helper II
Helper II

GeoJSON LineString

Hello,

 

I would like to create lines between locations in my PowerApp map. I tried to create this with GeoJSON shape objects, but did not succeed.

 

Is there a way to get these lines?

 

thanks

Paul

1 ACCEPTED SOLUTION

Accepted Solutions
PatilChetan
Resolver II
Resolver II

Hi @polo1604 ,

 

Please check below screenshots

 

Screenshot (26).png

 

Screenshot (25).png

 

I have used Excel as Datasource, below is the record used in excel.

CountyGeoJSONColor
Fernley to Reno{"type":"FeatureCollection","properties":{"kind":"state","state":"NV"},"features":[{"type":"Feature","properties":{"kind":"county","name":"Fernley to Reno","state":"NV"},"geometry":{"type":"MultiPolygon","coordinates":[[[[-119.3308682,39.6000767],[-119.9909261,39.557847]]]]}}]}Red

 

Thanks 🙂

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

4 REPLIES 4
PatilChetan
Resolver II
Resolver II

Hi @polo1604 ,

 

Please check below screenshots

 

Screenshot (26).png

 

Screenshot (25).png

 

I have used Excel as Datasource, below is the record used in excel.

CountyGeoJSONColor
Fernley to Reno{"type":"FeatureCollection","properties":{"kind":"state","state":"NV"},"features":[{"type":"Feature","properties":{"kind":"county","name":"Fernley to Reno","state":"NV"},"geometry":{"type":"MultiPolygon","coordinates":[[[[-119.3308682,39.6000767],[-119.9909261,39.557847]]]]}}]}Red

 

Thanks 🙂

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

polo1604
Helper II
Helper II

Hi @PatilChetan 

 

this was too easy ! 😀

 

Thanks a lot

Paul

Thanks for the example. Do you know if there is any way to also change the line's width so they are thicker?

Ferchu10
New Member

Hi! About this topic, I have a related question.

 

To draw the line I´m using the next syntaxis, and I´ve tried to increase default line´s width (2) without success. How get it?

 

Thanks!!!

 

{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"label":"LABEL"},"geometry":{"type":"LineString","coordinates":[[-3.814995,40.50438],[-3.95241,40.47584]]}}]}

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,953)