MapView.SetOverlayLineWidth
---------------------------

Sets the line width to use to draw it.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [MapView](component_MapView.md) | [9.5](newinversion95.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "MapView.SetOverlayLineWidth"; MapView; Overlay Identifier; LineWidth ) 

**MBS**( **"MapView.SetOverlayLineWidth";** /\* Sets the line width to use to draw it. \*/  
**$MapView**; /\* The map view reference number.e.g. $$MapView \*/   
**$Overlay Identifier**; /\* The identifier for the overlay to use.e.g. "82001" \*/   
**$LineWidth**) /\* The new line width to use.  
Zero is default for width of street.e.g. 5 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| MapView | The map view reference number. | $$MapView |
| Overlay Identifier | The identifier for the overlay to use. | "82001" |
| LineWidth | The new line width to use.   Zero is default for width of street. | 5 |

### Result

Returns OK or error.

### Description

Sets the line width to use to draw it.  
### Examples

Make a thick line:

 MBS ( "MapView.SetOverlayLineWidth"; $$MapView ; "82001"; 10 )  
### See also

- [MapView.GetOverlayLineWidth](MapViewGetOverlayLineWidth.md)
- [MapView.SetOverlayFillColor](MapViewSetOverlayFillColor.md)
- [MapView.SetOverlayPoints](MapViewSetOverlayPoints.md)

### Release notes

- **Version 9.5**
    - Added [MapView.GetOverlayFillColor](http://www.mbsplugins.eu/MapViewGetOverlayFillColor.shtml), [MapView.GetOverlayLineWidth](http://www.mbsplugins.eu/MapViewGetOverlayLineWidth.shtml), [MapView.GetOverlayStrokeColor](http://www.mbsplugins.eu/MapViewGetOverlayStrokeColor.shtml), [MapView.SetOverlayFillColor](http://www.mbsplugins.eu/MapViewSetOverlayFillColor.shtml), [MapView.SetOverlayLineWidth](http://www.mbsplugins.eu/MapViewSetOverlayLineWidth.shtml) and [MapView.SetOverlayStrokeColor](http://www.mbsplugins.eu/MapViewSetOverlayStrokeColor.shtml).

### Example Databases

- [Mac and iOS/MapKit/MapView BeeExample](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/MapKit/MapView%20BeeExample.shtml#28ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 9.5pr1](https://www.mbsplugins.de/archive/2019-10-02/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 19th September 2019 , last changed 9th November 2021

  
[MapView.SetOverlayFillColor](MapViewSetOverlayFillColor.md) - [MapView.SetOverlayPoints](MapViewSetOverlayPoints.md)

[HTML Version](MapViewSetOverlayLineWidth.shtml)