#set( $mapWidth = 500 ) #set( $mapHeight = 300 ) #set( $fullMapWidth = $imageBuilder.calculateFullMapWidth($locationsRegion.getPoint().longitude, $locationsRegion.east, $mapWidth) ) #set( $fullMapHeight = $imageBuilder.calculateFullMapHeight($locationsRegion.getPoint().latitude, $locationsRegion.north, $mapHeight) ) #set( $xOffset = $imageBuilder.calculatePixelWidth($locationsRegion.point.longitude, $fullMapWidth, $fullMapHeight) ) #set( $northLat = $locationsRegion.point.latitude + $locationsRegion.north ) #set( $yOffset = $imageBuilder.calculatePixelHeight($northLat, $fullMapWidth, $fullMapHeight) ) #set( $locationsRegionMapURL = $imageBuilder.getSubMapRelativeURL($xOffset, $yOffset, $mapWidth, $mapHeight, $fullMapWidth, $fullMapHeight) ) #set( $dotXOffset = -18 ) #set( $dotYOffset = -38 )
base map #foreach( $location in $map.getEveryLocation() ) $!{imageBuilder.attributeEncode($location.name)} #end