Skip to main content

Bing and map culture (language for labels)

Comments

1 comment

  • Permanently deleted user

    In the hopes that, this will help someone, here is what can be done.

    As of version 1.3.1, there is not place in Essential to supply the culture to be used when displaying Bing Maps data.

    Well, while this is true to some extent, you still can supply that information.

    There is actually 2 ways to do it. 

    Way 1:

    Edit the site.xaml file, and add the following string at the end of your key file

      <Map FullExtent="-9441501.73378248,5591521.49311574,-5684468.9195105,8722382.17167573" InitialExtent="-9441501.73378248,5591521.49311574,-5684468.9195105,8722382.17167573">

     

        <MapServices>

     

          <MapService ConnectionString="mapStyle=AerialWithLabels;key=YouBingMapsKeyGoesHere;culture=fr-CA " DefaultAllowSymbolization="true" DisplayName="AerialWithLabels" Function="Operational" ID="1" IncludeInLayerList="true" IsExpanded="true" Opacity="1" OverrideTemporalSettings="false" PasswordEncrypted="false" ProviderInvariantName="Geocortex.Gis.Services.Bing" SearchNonTextFields="true" SupportedImageHeight="0" SupportedImageWidth="0" UseHttpAuthentication="false" Visible="true" />

     

        </MapServices>

     

      </Map>

    Way 2:

    In essentials, when you are prompted to enter your key to connect to Bing Maps, simply add the culture at the end of the key, like so:

    YouBingMapsKeyGoesHere;culture=fr-CA

    You may, of course, replace fr-CA by your own culture. Please see http://msdn.microsoft.com/en-us/library/hh441729.aspx for a list of valid cultures.

    Hope this helps.

    Jeff

     

     

    0

Please sign in to leave a comment.