Topic: How to rotate marker instead of the map?
Hi!
I cant rotate my marker instead of the map. I've use the codes in the sample script RotateMapInsteadMarkerExample.cs with my personal code
You are not logged in. Please login or register.
Infinity Code Forum → Online Maps Help → How to rotate marker instead of the map?
Hi!
I cant rotate my marker instead of the map. I've use the codes in the sample script RotateMapInsteadMarkerExample.cs with my personal code
Hello.
Please explain more detail why you can not rotate the marker.
In the script attached I've added some of your codes from SmoothMoveExample.cs and RotateMapInsteadMarkerExample.cs and RoteteCameraByGPSExample.cs. So the codes from SmoothMoveExample.cs and RoteteCameraByGPSExample.cs works well but I'm Having problems with the codes from RotateMapInsteadMarkerExample.cs because whenever i change my compass values the marker doesn't rotate
In your script you do not rotate the marker.
It should be something like:
private void OnCompassChanged(float f)
{
marker.rotation = f;
OnlineMapsTileSetControl.instance.cameraRotation.y = f * 360;
}Infinity Code Forum → Online Maps Help → How to rotate marker instead of the map?
Powered by PunBB, supported by Informer Technologies, Inc.