ADD: added own ship icon and adaption for cms result
This commit is contained in:
@@ -93,4 +93,11 @@ const Hostile = new Icon({
|
||||
iconAnchor: [hostile.getAnchor().x, hostile.getAnchor().y],
|
||||
});
|
||||
|
||||
export { iconShip, friend,Hostile,createIcon };
|
||||
|
||||
|
||||
var OwnShipIcon = new Icon({
|
||||
iconUrl: 'Own_Ship.svg',
|
||||
iconSize: [50, 50], // size of the icon
|
||||
});
|
||||
|
||||
export {OwnShipIcon, iconShip, friend,Hostile,createIcon };
|
||||
Reference in New Issue
Block a user