Here is an application for displaying scaled maps.
The project began already in this thread http://www.b4x.com/forum/chit-chat/3553-mapping.html#post20687 , but ceasar and myself find that it's right place is here.
What can be done:
- Different maps can be loaded.
- The maps can be scaled, and the scaling saved (two points only yet).
- Drawings can be made onto the maps on 3 different layers:
- polylines with different colors, line widths
- circles with radius in meters, different colors, line widths, filled or empty
- texts with different colors, font sizes, font styles, with or without background color
- bitmaps, with or without background color, 4 bitmaps are predefined, these can be deleted and others loaded.
- Select any element of the drawing and modify, or delete it. To change the position of an element, click on it, move it and release, or change the coordinates.
- New points can be added to polylines.
- Save and load drawings. The saved data is just the geometry of the drawing elements, with a reference to the map. To load drawings, the program shows only those belonging to the map.
- Calculate the length of a polyline
- 2 maps of Cape Town are included, one with a km scaling and the other one with long, lat in degrees, sources Google Maps and Google Earth.
What can not be done yet:
- Scaling with 3 points
- Undo and redo
What is still missing:
- no GPS support
The help file is here.
www.b4x.com/files/ScaledMapHelpE.zip
It contains the help file itself and the map I used to create this help file.
I would be pleased to have some feedback of what is missing, improvement suggestions and bug reports.
Best regards.
EDIT: 2009.11.21
Version 2.0 bug renoval and some minor changes.
EDIT: 2011.02.27
Version 3.0 with a beginning of GPS support not really tested.
Leave it as it is.
The project began already in this thread http://www.b4x.com/forum/chit-chat/3553-mapping.html#post20687 , but ceasar and myself find that it's right place is here.
What can be done:
- Different maps can be loaded.
- The maps can be scaled, and the scaling saved (two points only yet).
- Drawings can be made onto the maps on 3 different layers:
- polylines with different colors, line widths
- circles with radius in meters, different colors, line widths, filled or empty
- texts with different colors, font sizes, font styles, with or without background color
- bitmaps, with or without background color, 4 bitmaps are predefined, these can be deleted and others loaded.
- Select any element of the drawing and modify, or delete it. To change the position of an element, click on it, move it and release, or change the coordinates.
- New points can be added to polylines.
- Save and load drawings. The saved data is just the geometry of the drawing elements, with a reference to the map. To load drawings, the program shows only those belonging to the map.
- Calculate the length of a polyline
- 2 maps of Cape Town are included, one with a km scaling and the other one with long, lat in degrees, sources Google Maps and Google Earth.
What can not be done yet:
- Scaling with 3 points
- Undo and redo
What is still missing:
- no GPS support
The help file is here.
www.b4x.com/files/ScaledMapHelpE.zip
It contains the help file itself and the map I used to create this help file.
I would be pleased to have some feedback of what is missing, improvement suggestions and bug reports.
Best regards.
EDIT: 2009.11.21
Version 2.0 bug renoval and some minor changes.
EDIT: 2011.02.27
Version 3.0 with a beginning of GPS support not really tested.
Leave it as it is.
Attachments
Last edited: