jFXtrasMapPane
Coordinate
Methods:
- GetLatitude As Double
- GetLongitude As Double
- Initialize (Latitude As Double, Longitude As Double)
- IsInitialized As Boolean
- SetLatitude (Latitude As Double)
- SetLongitude (Longitude As Double)
CustomTilePathBuilder
Events:
- BuildPath (Zoom As Int, TileX As Int, TileY As Int) As String
Methods:
- GetTileType As String
- Initialize
Initialize the CustomTilePathBuilder.
The CustomTilePathBuilder will build a default OSM type path, the default TileType is 'png'.
- Initialize2 (EventName As String)
Initialize the CustomTilePathBuilder.
The CustomTilePathBuilder will raise the event:
BuildPath(Zoom As Int, TileX As Int, TileY As Int) As String
- IsInitialized As Boolean
- SetTileType (TileType As String)
Set the tile type - the file extension of the tile.
TileType - A value such as 'png' or 'jpg'.
CustomTileSource
Methods:
- GetAttributionImage As ImageWrapper
- GetAttributionLinkURL As String
- GetAttributionText (Zoom As Int, TopLeft As Coordinate, BottomRight As Coordinate) As String
- GetBaseUrl As String
- GetMaxZoom As Int
- GetMinZoom As Int
- GetName As String
- GetTermsOfUseURL As String
- GetTileSize As Int
- Initialize (Name As String, BaseUrl As String)
- Initialize2 (Name As String, BaseUrl As String, MinZoom As Int, MaxZoom As Int)
- IsAttributionRequired As Boolean
- IsInitialized As Boolean
- LatToTileY (Latitude As Double, Zoom As Int) As Double
- LonToTileX (Longitude As Double, Zoom As Int) As Double
- SetApiKey (ApiKey As String)
- SetAttributionImage (AttributionImage As Image)
- SetAttributionLinkURL (AttributionLinkURL As String)
- SetAttributionRequired (Required As Boolean)
- SetAttributionText (AttributionText As String)
- SetTermsOfUseURL (TermsOfUseURL As String)
- SetTilePathBuilder (TilePathBuildable1 As TilePathBuildable)
- TileXToLon (TileX As Int, Zoom As Int) As Double
- TileYToLat (TileY As Int, Zoom As Int) As Double
DefaultMapLine
Methods:
- AddCoordinate (Coordinate1 As Coordinate)
- Initialize (Coordinates As List)
- Initialize2 (n As String, Color1 As Color, Width As Double, DashOffset As Double, Coordinates As List)
- IsInitialized As Boolean
ImageMapMarker
Events:
- MouseClicked (ImageMapMarker1 As ImageMapMarker, MouseEvent1 As MouseEvent)
Methods:
- GetLat As Double
- GetLon As Double
- GetRotate As Double
- Initialize (EventName As String, Icon As Image, Latitude As Double, Longitude As Double)
- Initialize2 (EventName As String, Icon As Image, Latitude As Double, Longitude As Double, Rotate As Double)
- IsInitialized As Boolean
- SetCursor (Cursor1 As Cursor)
- SetLat (Latitude As Double)
- SetLon (Longitude As Double)
- SetRotate (Rotate As Double)
Properties:
MapMarkable
Methods:
- GetLat As Double
- GetLon As Double
- IsInitialized As Boolean
MapNodeHost
Methods:
- GetAutoFix As Boolean
- Initialize (Node1 As Node, Latitude As Double, Longitude As Double, OffsetX As Int, OffsetY As Int)
- IsInitialized As Boolean
- Render (MapControlable1 As MapControlable)
Force the MapNodeHost to render itself.
MapControlable1 - An instance of MapPane.
- SetAutoFix (AutoFix As Boolean)
AutoFix - if True the MapHostNode should automatically correct it's position such that it doesn't end up positioned off the screen.
- SetLat (Latitude As Double)
- SetLon (Longitude As Double)
- SetNode (Node1 As Node)
- SetOffsetX (OffsetX As Int)
- SetOffsetY (OffsetY As Int)
Properties:
MapPane
Events:
- MouseClicked (EventData As MouseEvent)
- MouseDragged (EventData As MouseEvent)
- MouseMoved (EventData As MouseEvent)
- MousePressed (EventData As MouseEvent)
- MouseReleased (EventData As MouseEvent)
- Rendered
- Resize (Width As Double, Height As Double)
Methods:
- AddMapLine (MapLineable1 As MapLineable)
- AddMapMarker (MapMarkable1 As MapMarkable)
- AddMapNodeHost (MapNodeHost1 As MapNodeHost)
- AddMapOverlay (MapOverlayable1 As MapOverlayable)
- AddMapPolygon (MapPolygonable1 As MapPolygonable)
- AddNode (arg0 As Node, arg1 As Double, arg2 As Double, arg3 As Double, arg4 As Double)
- AdjustCursorLocationText
- GetAllViewsRecursive As IterableList
- GetCenter As Point
This method returns the center of the map as a point.
X and Y position of the center of this map on the world in screen pixels for the current zoom level.
- GetCenterCoordinate As Coordinate
- GetCoordinate (MapPointX As Int, MapPointY As Int) As Coordinate
- GetCoordinate2 (MapPoint As Point) As Coordinate
- GetLastDragPoint As Point
- GetMapHeight As Int
- GetMapMarkerList As MapMarkable[]
- GetMapPoint (Coordinate1 As Coordinate) As Point
- GetMapPoint2 (Latitude As Double, Longitude As Double, CheckOutside As Boolean) As Point
- GetMapWidth As Int
- GetMapX As Int
- GetMapY As Int
- GetNode (arg0 As Int) As ConcreteNodeWrapper
- GetTileSource As TileSource
public javafx.scene.Group GetTilesGroup(){
return getObject().getTilesGroup();
}
- GetZoom As Int
- GetZoomControlsVisible As Boolean
- Initialize (EventName As String)
Initialize the MapPane.
The MapPane will have a size of 800x600 and display Mapnik tiles.
- Initialize2 (EventName As String, TileSource1 As TileSource)
Initialize the MapPane.
The MapPane will have a size of 800x600 and display tiles from TileSource1.
- Initialize3 (EventName As String, TileSource1 As TileSource, X As Int, Y As Int, Width As Int, Height As Int, Zoom As Int)
Initialize the MapPane.
The MapPane will have the defined size and display tiles from TileSource1.
- InsertNode (arg0 As Int, arg1 As Node, arg2 As Double, arg3 As Double, arg4 As Double, arg5 As Double)
- IsIgnoreRepaint As Boolean
- IsInitialized As Boolean
- IsMapPolygonsVisible As Boolean
- IsMapRoutesVisible As Boolean
- IsMapTrailsVisible As Boolean
- IsMapVehiclesVisible As Boolean
- IsShowZoomControls As Boolean
- LoadLayout (arg1 As String)
- MoveMap (X As Int, Y As Int)
Moves the map to the given coordinates so that x and y is in the center.
- RemoveAllNodes
- RemoveMapLine (MapLineable1 As MapLineable)
- RemoveMapMarker (MapMarkable1 As MapMarkable)
- RemoveMapNodeHost (MapNodeHost1 As MapNodeHost)
- RemoveMapOverlay (MapOverlayable1 As MapOverlayable)
- RemoveMapPolygon (MapPolygonable1 As MapPolygonable)
- RemoveNodeAt (arg0 As Int)
- RemoveNodeFromParent
- RequestFocus
- SetCursorLocationText (X As Double, Y As Double)
- SetCursorLocationVisible (Visible As Boolean)
- SetDisplayPosition (X As Int, Y As Int, Zoom As Int)
- SetDisplayPosition2 (MapPoint As Point, X As Int, Y As Int, Zoom As Int)
- SetDisplayPositionByLatLon (Latitude As Double, Longitude As Double)
- SetDisplayPositionByLatLon2 (Latitude As Double, Longitude As Double, Zoom As Int)
- SetDisplayPositionByLatLon3 (MapPoint As Point, Latitude As Double, Longitude As Double, Zoom As Int)
- SetDisplayToFitMapMarkers
- SetDisplayToFitMapRectangle
- SetErrorTile (ErrorTile As Image)
- SetLoadingTile (LoadingTile As Image)
- SetMapBounds (X As Int, Y As Int, Width As Int, Height As Int)
- SetMapHeight (Height As Double)
- SetMapMarkerList (MapMarkers As List)
- SetMapMarkerVisible (Visible As Boolean)
- SetMapPolygonsVisible (Visible As Boolean)
- SetMapRoutesVisible (Visible As Boolean)
- SetMapTrailsVisible (Visible As Boolean)
- SetMapVehiclesVisible (Visible As Boolean)
- SetMapWidth (Width As Double)
- SetMapX (X As Int)
- SetMapY (Y As Int)
- SetMonochromeMode (Mode As Boolean)
- SetShowZoomControls (Show As Boolean)
- SetTileGridVisible (Visible As Boolean)
- SetTileSource (TileSource1 As TileSource)
- SetTrailTime (Time As Int)
- SetZoom (Zoom As Int)
- SetZoom2 (Zoom As Int, MapPoint As Point)
- SetZoomControlsVisible (Visible As Boolean)
- Snapshot As ImageWrapper
- ZoomIn
- ZoomIn2 (Point1 As Point)
- ZoomOut
- ZoomOut2 (Point1 As Point)
Properties:
- Enabled As Boolean
- Height As Double [read only]
- Id As String
- Left As Double
- MouseCursor As Cursor
- NumberOfNodes As Int [read only]
- PrefHeight As Double
- PrefWidth As Double
- Style As String
- StyleClasses As List [read only]
- Tag As Object
- Top As Double
- Visible As Boolean
- Width As Double [read only]
Mercator
Fields:
- MAX_LAT As Double
- MIN_LAT As Double
Methods:
- FalseEasting (ZoomLevel As Int) As Int
- FalseNorthing (ZoomLevel As Int) As Int
- GetMaxPixels (ZoomLevel As Int) As Int
- LatToY (Latitude As Double, ZoomLevel As Int) As Int
- LonToX (Longitude As Double, ZoomLevel As Int) As Int
- Radius (ZoomLevel As Int) As Double
- XToLon (X As Int, ZoomLevel As Int) As Double
- YToLat (Y As Int, ZoomLevel As Int) As Double
OsmTileSourceFactory
Fields:
- OsmType_CycleMap As OsmType
- OsmType_Landscape As OsmType
- OsmType_Mapnik As OsmType
- OsmType_Transport As OsmType
Methods:
- Create (OsmType1 As OsmType) As TileSource
- Initialize
- IsInitialized As Boolean
- ValueOf (Name As String) As OsmType
SimpleMapMarker
Events:
- MouseClicked (SimpleMapMarker1 As SimpleMapMarker, MouseEvent1 As MouseEvent)
Methods:
- GetLat As Double
- GetLon As Double
- Initialize (EventName As String, Latitude As Double, Longitude As Double)
- Initialize2 (EventName As String, Radius As Int, Color1 As Color, Latitude As Double, Longitude As Double)
- IsInitialized As Boolean
- SetCursor (Cursor1 As Cursor)
- SetLat (Latitude As Double)
- SetLon (Longitude As Double)
Properties: