opensciencemap / vtm

a vector-tile map library written in java - running on android, desktop and within the browser
GNU Lesser General Public License v3.0
238 stars 176 forks source link

Improved Itemized Layer #174

Closed Pedinel closed 7 years ago

Pedinel commented 7 years ago

This changes allows ItemizedLayer to add multiple Items of any collections.

Explanation: if I have this code (CustomMarkerItem extends MarkerItem): ItemizedLayer<MarkerItem> markerLayer = new ItemizedLayer<>(map, symbol); LinkedList<CustomMarkerItem> myIconsList = new LinkedList<>();

I can't add my Icon list to the ItemizedLayer: markerLayer.addItems(myIconsList);

devemux86 commented 7 years ago

It's impossible to check the PR with all that history of unrelated commits. Can you create a topic branch based on latest master and have only your changes in a commit?

devemux86 commented 7 years ago

VTM development continues at https://github.com/mapsforge/vtm (see announcement here on main page)

Could you post your idea there?