This is a description of the venuesd3.venuesconstructor and the available methods. It covers the Venues for D3 current API:

 

d3.venues : (api_key)

Initialize venues account using an access key

 

venues.load: (venue_id)

Load a venue to in the container

 

venues.width : ([value])

Set width for venue viewport or get the current value if no argument provided

 

venues.height : ([value])

Set height for venue viewport or get the current value if no argument provided

 

venues.community()

Get current community information with available drawings and metadata

 

venues.convertLonLatToMapCoords : (point)

Get local coordinates for provided geo point[lon, lat]

 

venues.drawing ([drawing_id])

Switch drawing by providing an ID or access the currently rendered drawing

 

venues.feature : ([feature_id])

Highlight a feature by providing an ID or access the currently highlighted feature

 

venues.level : ([level_id])

Set rendered level providing _level\_id_ or get current level information

 

venues.marker (point, options[, popoverContent])

Add a marker by providing its position as [lon, lat] and options { iconUrl, iconSize }

For a working example check the Adding additional data guide.

 

venues.scaleExtent ([extent])

Sets the scale extends to the specified array of numbers [_k0, k1_] where _k0_ is the minimum allowed scale factor and _k1_ is the maximum allowed scale factor

 

venues.scale ([k])

Scale the zoom transform of the svg to k