Link in one click
Linking needs two things: an SVG on the floor whose shapes have names, and places on that floor. Then follow these steps.
- Name the shapes in your design appGive each unit's shape its unit number (G-12) or place name as its id or layer name, then export the SVG.
- Upload the SVG to its floorIn the Floor panel, press Upload SVG plan. See Add floors and floor plans.
- Add your placesType them in, or import a CSV with a unit column. CSV rows whose unit matches a shape's name link on their own.
- Press Link shapes to places by unit or nameEvery place on that floor without a position gets the shape whose name matches its unit, name or slug. A message says how many were linked.
- Fix the rest by handSelect a place, pick Use SVG shape and click its shape on the floor. Then press Update.
How the matching works
For each place on the floor that is not on the map yet, Venue Map looks for the first free shape whose name or id matches the place's unit, name or slug. Both sides are compared as plain letters and digits, so case, spaces, dashes and accents do not matter.
| Place | Shape in the SVG | Linked? |
|---|---|---|
Unit G-12 | <rect id="G-12"> | Yes |
Unit g12 | <path data-name="G 12"> | Yes |
Name Ember Coffee, no unit | <path id="ember-coffee"> | Yes, by name |
Unit G-12 | <g id="G-12"><rect/></g> | No. The name is on the group, not the shape |
Unit G-14 | <rect id="G-14" fill="none"> | No. A shape with no fill is a line |
Unit numbers are the safest names. They stay the same when a tenant moves out, so the file never needs to change. Only the place's name does.
Create places from named shapes
If your SVG already carries the place names, press Create places from named shapes. Venue Map adds a place for every named shape that is not linked yet and is not a line, named after the shape. If the shape has an id that differs from its name, the id goes into the unit field. Generic names such as "path 12", "rect" or "layer 3" are skipped.
Then fill in categories, hours and contact details, or update them all at once with a CSV import.
Link one shape by hand
Select the place, pick the Use SVG shape tool and click its shape on the floor. If another place on that floor had the shape, it loses it, because a shape belongs to one place only. With no place selected, clicking a shape makes a new place named after the shape.
When a place changes floor or the SVG is replaced
- Moving a place to another floor removes its link, because the shape belongs to the old floor's SVG.
- Remove SVG unlinks every place on that floor.
- Replacing a floor's SVG keeps each place's link to a shape by its position in the file (first shape, second shape and so on). If the new file has its shapes in another order, a place can end up on the wrong unit. Check the Preview tab, press Remove from map on any place that moved, then press Link shapes to places by unit or name again.
See a finished, linked plan in the mall directory demo.
Related docs
- Add floors and floor plansAdd up to 30 floors per venue. Each floor takes an SVG plan up to 5 MB with clickable shapes, or a PNG, JPG or WebP picture.
- CSV import and exportThe exact CSV columns Venue Map reads and writes, how rows update existing places, an example file and the JSON backup.
- Draw shapes, boxes and pinsPut places on a floor picture with the Pin, Draw shape and Box tools, move corners, zoom the builder and undo with Ctrl+Z.
- TroubleshootingEvery error message Venue Map shows and what to do: SVG too large, shapes not clickable, floor plan not loading, theme CSS, caching.