Uses of Class
com.jbstrap.jbmap.Coordinates
-
Uses of Coordinates in com.jbstrap.jbmap
Modifier and TypeMethodDescriptionJBMap.getCenterCoordinates()
Gets the specified center coordinate of the map.Coordinates.setLatitude
(double latitude) Sets the latitude value of the coordinate.Coordinates.setLongitude
(double longitude) Sets the coordinate's longitude value.Modifier and TypeMethodDescriptionJBMap.flyTo
(Coordinates coordinates, Integer zoom) "Flying to a point" on the map.JBMap.setCenterCoordinates
(Coordinates coordinates) Sets the map to a specified coordinate. -
Uses of Coordinates in com.jbstrap.jbmap.layers.layer
Modifier and TypeMethodDescriptionCircle.getCoordinates()
Gets the circle center coordinates.CirclePoint.getCoordinates()
Gets the circle center coordinates.DivPoint.getCoordinates()
Gets the upper left corner coordinates of the DivPoint.Point.getCoordinates()
Gets the point coordinates.PopupPoint.getCoordinates()
Gets the PopupPoint coordinates.Rectangle.getDiagonalFirst()
Gets the first diagonal coordinate of the rectangle.Rectangle.getDiagonalSecond()
Gets the second diagonal coordinate of the rectangle.Modifier and TypeMethodDescriptionArea.getCoordinatesList()
Gets a list of area layer coordinates.Line.getCoordinatesList()
Gets a list of line layer coordinates.Modifier and TypeMethodDescriptionCircle.setCoordinates
(Coordinates coordinates) Sets the circle center coordinates.CirclePoint.setCoordinates
(Coordinates coordinates) Sets the circle center coordinates.DivPoint.setCoordinates
(Coordinates coordinates) Sets the upper left corner coordinates of the DivPoint.Point.setCoordinates
(Coordinates coordinates) Sets the point coordinates.PopupPoint.setCoordinates
(Coordinates coordinates) Sets the PopupPoint coordinates.Rectangle.setDiagonalCoordinates
(Coordinates diagonalFirst, Coordinates diagonalSecond) Sets the the coordinates of two diagonal corners in the rectangle.Modifier and TypeMethodDescriptionArea.setCoordinatesList
(List<Coordinates> coordinates) Sets a list of area layer point coordinates.Line.setCoordinatesList
(List<Coordinates> coordinates) Gets a list of line layer coordinates.ModifierConstructorDescriptionArea
(String name, Coordinates... coordinates) Creates an area with the layer's unique name and a list of point coordinates.Circle
(String name, Coordinates coordinates) Creates a circle shape with 5 km radius.Circle
(String name, Coordinates coordinates, int radius) Creates a center shape.CirclePoint
(String name, Coordinates coordinates) Creates a circle point shape.DivPoint
(String name, Coordinates coordinates) Creates a DivPoint that can be assigned to a point on the map with designated coordinates.Line
(String name, Coordinates... coordinates) Creates a line with the layer's unique name and a list of point coordinates.Point
(String name, Coordinates coordinates) Creates a marker point with a default image.PopupPoint
(String name, Coordinates coordinates) Creates a popup that can be assigned to a point on the map with designated coordinates.Rectangle
(String name, Coordinates diagonalFirst, Coordinates diagonalSecond) Creates a rectangle with the layer's unique name and by specifying the coordinates of two corners.ModifierConstructorDescriptionArea
(String name, List<Coordinates> coordinates) Creates an area with the layer's unique name and a list of point coordinates.Line
(String name, List<Coordinates> coordinates) Creates an line with the layer's unique name and a list of point coordinates.Rectangle
(String name, List<Coordinates> coords) Creates a rectangle with the layer's unique name and by specifying the coordinates of two corners in a list.