Maps Mania: The Nicknames of America


Some U.S. cities have very quirky nicknames. Apparently, the residents of Auburn, Alabama wish to name their city the ‘Armpit of the Confederacy‘. Whereas their close by neighbors in Gordo, Alabama name their residence the ‘Armpit of Civilization‘. 

Elmwood and Belleville in Wisconsin each declare to be the ‘UFO Capital of the World‘ (presumably due to all of the unusual, alien-looking folks residing in each cities). White Middle in Washington likes to be affectionately often known as ‘Rat Metropolis‘ and Chatsworth, California has adopted the moniker ‘San Pornando‘.

Yow will discover these 5 metropolis nicknames and the nicknames of round 1,600 different cities on my new interactive US Nicknames Map.

I am going to admit that looking U.S. metropolis nicknames will most likely have restricted enchantment. Nevertheless, I really made the map for instance of overcoming a few points I found this week when utilizing OpenFreeMap and Versa Tiles with MapLibre.

Each OpenFreeMap and Versa Tiles are unbelievable, free map-tiles that can be utilized with the MapLibre GL mapping library. This week, nevertheless, I found a few points with utilizing OpenFreeMap and Versa Tiles with expressions and with variable label placement with MapLibre. To be clear, this isn’t an issue with both OpenFreeMap or Versa Tiles, however the issue arises as a result of the MapLibre documentation makes use of completely different map-tiles of their instance maps.

In each instances, the issues with the MapLibre instance maps are that they try and reference fonts which aren’t current within the OpenFreeMap and Versa Tiles map types. For instance, if I copy the code for the variable label placement map and try and swap within the OpenFreeMap Liberty map type because the tile layer, then I get this 404 error:  ‘https://tiles.openfreemap.org/fonts/Openpercent20Sanspercent20Regular,Arialpercent20Unicodepercent20MSpercent20Regular/0-255.pbf 404 (Not Discovered)’. 

Each OpenFreeMap and Versa Tiles use Noto Sans as a substitute of Arial because the font for the map labels. So once you need to use variable label placement or use expressions to alter map labels (as I’m doing with my US Nicknames Map) you’ll want to level the map to make use of the obtainable font. So, for instance, for the OpenFreeMap Liberty map type now we have to alter the demo code so as to add a map layer to: 

‘structure’: {
‘text-field’: [‘get’, ‘description’],

‘text-font’: [‘Noto Sans Regular’], // Specify the font right here

‘text-variable-anchor’: [‘top’, ‘bottom’, ‘left’, ‘right’],

‘text-radial-offset’: 0.5,

‘text-justify’: ‘auto’,

‘icon-image’: [‘concat’, [‘get’, ‘icon’], ‘_15’]

}

Equally, for those who take a look at the supply code in my US Nicknames Map, you will note that the ‘map.addLayer’ customized layer additionally references “text-font”: [“Noto Sans Regular”].



Supply hyperlink

We will be happy to hear your thoughts

      Leave a reply

      mapsa
      Logo
      Compare items
      • Total (0)
      Compare
      0
      Shopping cart