UnitySlippyMap
UnitySlippyMap copied to clipboard
2 Errors in Demo with Unity2018
There are 2 errors in your demo with Unity2018:
Assets/UnitySlippyMap/Helpers/TextureBogusExtension.cs(39,25): error CS1540: Cannot access protected member
UnityEngine.Texture.Texture()' via a qualifier of type UnityEngine.Texture'. The qualifier must be of type
TextureBogusExtension' or derived from it`
Assets/UnitySlippyMap/Helpers/TextureBogusExtension.cs(39,25): error CS0122:
UnityEngine.Texture.Texture()' is inaccessible due to its protection level`
How to fix it?
You replace the line with
_bogusTexture = null;
Seems to be enough to start the demo scene.
I managed to build the package, but the Center button doesn't seems to work, even with a GPS fix on my device, the map stay on the city of Lyon (instead of Quebec City) when I press Center