HSLayers.Embed.GeneratorDialog (class)

HSLayers.Embed.GeneratorDialog

class HSLayers.Embed.GeneratorDialog(config)

Dialog for generate code for embedding map into the HTML page

param Object config:
 
possible values (key / value pair):

generateParams - parameters for generated code scriptPath - path to embed script map - {<a>OpenLayers.Map</a>}

Example usage:

var dialog = new HSLayers.Embed.GeneratorDialog({
    generateParams: {},
    map: map,
    saveUrl: "server/path"
});
dialog.show();

Properties

HSLayers.Embed.GeneratorDialog.CLASS_NAME
Type :String (static)

HSLayers.Embed.GeneratorDialog

HSLayers.Embed.GeneratorDialog.generateParams

HSLayers.Embed.GeneratorDialog

HSLayers.Embed.GeneratorDialog.map

HSLayers.Embed.GeneratorDialog

HSLayers.Embed.GeneratorDialog.saveUrl

HSLayers.Embed.GeneratorDialog

Methods

HSLayers.Embed.GeneratorDialog.getForm()
Returns:
Return type:HSLayers.Embed.GeneratorForm
HSLayers.Embed.GeneratorDialog.initComponent()
HSLayers.Embed.GeneratorDialog.setMap(map)
Arguments:
  • map (OpenLayers.Map) –
HSLayers.Embed.GeneratorDialog.showDialog()

Main Menu


Table Of Contents

Previous topic

HSLayers.Embed.Generator (class)

Next topic

HSLayers.Embed.GeneratorForm (class)

This Page