Hi all,
I have some questions about the LineStyle.
1. Is the map supports transparent line? I saw the constructor of LineStyle accepts an int in ARGB format but unfortunately, it seems nothing changed although I have set the alpha value.
2. Is there any easy ways to change the line thickness when I zoom in or zoom out the map? As the line thickness remains unchange when I change the zoom level of the map.
3. One more question not related to LineStyle. How can I make the map simpler? Like showing just the road names, hiding the building names / residential area names.
Anyone have ideas on these questions? Thanks.
Regarding map styles I suggest to take also a look to Style Editor and Custom styles of CloudMade.com They enable you to customize base map, including exactly what you need: removal of some street/way classes for some zoom levels.
Hi alyver and Jaak. These information are definitely helps, I'll try it out. Thanks
Matt
hi Matthew:
1. No, at the moment this implementation don't support the transparency for lines because lines are drew by drawLine() (lcdui j2me package) an it supports only RGB colours.
2. not easily but you can check when the map is moved or zoomed by implementing the MapListener, and than change the size of the line by his .setStyle() method.
3.this depend on the map source you use. For example now I'm trying to use map from a GeoServer, configured properly to do some of these feature(show only certain type of city names, streets etc.). Everything depend on the capabilities of the cartographic server you are using not by the nutiteq library.
Hope this helps
alyver