fsMapViewSet2DViewLatLong

This function can be used to force the MapView to show a specific latitude and longitude (also see fsMapViewSet2DViewFollowMode).

 

 

Syntax
bool fsMapViewSet2DViewLatLong(
    FsContext ctx,
    FsTextureId id,
    double dLatitude,
    double dLongitude
    )

 

 

Members
Parameters Description
ctx A value of type FsContext provided as an argument of the gauge callback.
id The MapView render ID as returned by the function fsMapViewCreate.
dLatitude The latitude to move the view to.
dLongitude The longitude to move the view to.

 

 

Return Values

Returns false if:

  • no texture matches the given MapView ID
  • the ctx is invalid

Otherwise it will return true.

 

 

Remarks

This function is only valid when fsMapViewSet3D is set to false (ie: 3D is disabled).
 

 

See Also