[TASK] Initial commit with basic product setup
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using Mapbox.Unity.Map.Interfaces;
|
||||
using Mapbox.Unity.Utilities;
|
||||
|
||||
namespace Mapbox.Unity.Map.Strategies
|
||||
{
|
||||
public class MapPlacementAtLocationCenterStrategy : IMapPlacementStrategy
|
||||
{
|
||||
public void SetUpPlacement(AbstractMap map)
|
||||
{
|
||||
map.SetCenterMercator(Conversions.LatLonToMeters(map.CenterLatitudeLongitude));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user