Skip to content
The “How Do I?” samples collection is a comprehensive set containing dozens of interactive samples. Available in C# (Blazor), these samples are designed to hit all the highlights of ThinkGeo Blazor UIs, from simply adding a layer to a map to performing vehicle tracking and applying a thematic style. Consider this collection your “encyclopedia” o…
HTML C# CSS JavaScript
Branch: master
Clone or download

README.md

How Do I Sample for Blazor

Description

The “How Do I?” samples collection is a comprehensive set containing dozens of interactive samples. Available in C# (Blazor), these samples are designed to hit all the highlights of ThinkGeo Blazor UIs, from simply adding a layer to a map to performing vehicle tracking and applying a thematic style. Consider this collection your “encyclopedia” of all the ThinkGeo basics and a great starting place for new users.

Please refer to ThinkGeo Web UI for Blazor for the details.

Screenshot

Requirements

This sample makes use of the following NuGet Packages

ThinkGeo Core 12.0.0

About the Code

    <MapView Id="map" MapUnit="@ThinkGeo.Core.GeographyUnit.Meter" ProgressiveZooming="true"
         Center="@(new PointShape(-11037792.463030849, 4953010.053845501))"
         Zoom="5">
        <OverlaysSetting>
            <ThinkGeoCloudVectorMapsOverlay Id="VectorOverlay"
                                            ApiKey=""
                                            MapType="mapType" />
        </OverlaysSetting>
    </MapView>

@code{
    Map map;
    protected override void OnInitialized()
    {
        // Initialize here ...
    }
}

Getting Help

ThinkGeo Community Site

ThinkGeo Web Site

Key APIs

This example makes use of the following APIs:

ThinkGeo Web for Blazor

ThinkGeo Core API

FAQ

  • Q: How do I make background map work?
    A: Backgrounds for this sample are powered by ThinkGeo Cloud Maps and require a Client ID and Secret. These were sent to you via email when you signed up with ThinkGeo, or you can register now at https://cloud.thinkgeo.com. Once you get them, please update the code in property ApiKey="" in RazorControl partial classes.

About ThinkGeo Core

ThinkGeo Core is a set of powerful development components and services for the .Net Core.

About ThinkGeo

ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture, energy, transportation, government, engineering, software development, and defense.

You can’t perform that action at this time.