# Highlight partial border

**URL:** <https://community.thinkgeo.com/t/highlight-partial-border/8593>\
**Category:** WinForms\
**Created:** [June 20, 2017, 2:09pm UTC](https://community.thinkgeo.com/t/highlight-partial-border/8593 "2017-06-20T14:09:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dib](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/dib/32/19493_2.png) [@Dib](https://community.thinkgeo.com/u/Dib)\
**Post date:** [June 20, 2017, 2:09pm UTC](https://community.thinkgeo.com/t/highlight-partial-border/8593/1 "2017-06-20T14:09:16Z")

</div>

Hello,

Is there a way to highlight part of a country/state/county border? Say I want to highlight the coastal border of Florida, or the border from one lat/lon poinr to another. Is there anything in place to do something like that?

Thanks,  
Dib

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [June 21, 2017, 2:32am UTC](https://community.thinkgeo.com/t/highlight-partial-border/8593/2 "2017-06-21T02:32:52Z")

</div>

Hi Dib,

Highlight the border of a state should be easier, because you can directly read the shape from data, then highlight it.

If you want to highlight a point to another, you need to do spatial query, and maybe you cannot get the result you want.

Please refer this sample which shows how to highlight a polygon: [https://github.com/ThinkGeo/HighlightAtMouseHoverSample-ForWpf](https://github.com/ThinkGeo/HighlightAtMouseHoverSample-ForWpf)

Regards,

Don
