MobileTrack Nexus Documentation
C#
Show/Hide TOC
Maps
Extensions
To
Lat
Lng
Literal(Geo
Location) Method
Converts a
GeoLocation
to a
LatLngLiteral
for use in Google Maps
Definition
Namespace:
MobileTrack.Web.Components.Extensions
Assembly:
MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
C#
Copy
Request Example
public
static
LatLngLiteral
ToLatLngLiteral
(
this
GeoLocation
location
)
Parameters
location
GeoLocation
Location to convert
Return Value
LatLngLiteral
Generated coordinate.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
GeoLocation
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
MapsExtensions Class
ToLatLngLiteral Overload
MobileTrack.Web.Components.Extensions Namespace
In This Article
Definition
Parameters
Return Value
Usage Note
See Also