Adding Google Maps or OpenStreetMap to a nanoCAD drawing

Add online maps to a nanoCAD drawing. See how to load vector maps, raster maps and terrain data, then adjust how they appear in your project.

You can use an online map as a background for your drawing. Here’s how to choose a map, position it and control what it displays.

On the ribbon, choose Insert → Maps → Map Underlay.

Inserting a map underlay

The Map view dialog has three tabs on the right: Vector maps, Raster maps and Relief. Each has its own import settings.

Vector maps

nanoCAD gets its vector maps from OpenStreetMap.

Drag the preview with the left mouse button to pan. Scroll the mouse wheel to zoom in on the area you want to import.

Choose the marker that will serve as the insertion point. Click the marker button at the bottom of the dialog, then click the location on the map. 

Map options at the bottom of the dialog 

You can also enter the coordinates under Marker position.

Marker position

Select Fix current marker position to use the same marker across all tabs.

Set the map scale, rotation angle and drawing units. Positive angles rotate the map counterclockwise about the marker.

Under Vector maps, choose Mercator, Gauss-Krueger or UTM from the projection list. OpenStreetMap uses WGS84. To convert its coordinates to another system, select Transform coordinate system.

Transform coordinate system

Choose the target ellipsoid from the ellipsoid library.

ellipsoid library

The transformation parameters are selected from the transform_params.csv file, which is in the C:\Program Files\Nanosoft AS\nanoCAD x64 23.0\UserDataCache\maplib\LIB folder and can be edited to add new transformation parameters.

Example entry

H7,A71,1.1754269821,0.8335921287,-1.8427748075,0.3009209456, -0.281688512,0.0489036851,-17.1676469987

where:

  • H7 identifies the transformation.

  • A71 is the user-defined name.

  • Dx, Dy and Dz give the offset from the WGS84 center in meters.

  • Wx, Wy and Wz give the rotations about the WGS84 axes in arcseconds.

  • The final field gives the scale adjustment in parts per million. One part per million changes the scale factor by 0.000001.

Click Insert, then click in the drawing to position the marker.

A vector map in nanoCAD

Select the vector underlay to see its projection, ellipsoid, marker visibility, scale and rotation in Properties.

Turn off Show marker to hide the marker.

Turn off the map under Map status to show only the outline of the underlay. 

To choose which layers to display, click the button next to Map properties.

Layers visible in the map underlay

Raster maps

Raster map sources include OpenStreetMap, Google Maps, Yandex Maps, OSM Topo, Mapbox, ArcGIS and Bing.

Some providers offer street maps, satellite imagery, hybrid views, terrain maps or topographic maps.

Raster maps

The import settings work much as they do for vector maps.

Select Relief to drape the raster image over a 3D terrain model.

Terrain

On the Relief tab, select your area using Google terrain imagery or Mapbox satellite imagery. Mapbox supplies the 3D terrain model.

Alongside the usual import settings, you can adjust the vertical scale, choose an elevation color palette and apply shading.

When you select Mapbox, enable DTM display to preview the digital terrain model.

Terrain

Try nanoCAD with your own projects

Open your own DWG files and see how nanoCAD fits into your work.

Start your free 30-day trial

Related articles

View all articles