create a polyline in gluon mapLayer
问题 Google maps API makes it possible to create a layer on the map containing a polyline linking points together. I have searched where I could to find an example or an implementation for this for gluon's mapLayer. Please advice 回答1: While there's no explicit API for drawing lines, polylines or polygons on top of a MapView , the MapLayer is a layer where you can draw any JavaFX Shape , providing you take care of scaling it to the map coordinates. For that, if you have a look at the PoiLayer class