don't pass google api key, use Ox.Map.GoogleApiKey
This commit is contained in:
parent
66a130e35f
commit
b11d6a81fe
2 changed files with 1 additions and 6 deletions
|
|
@ -3,7 +3,6 @@
|
|||
/*@
|
||||
Ox.MapEditor <f> Map Editor
|
||||
options <o> Options object
|
||||
apiKey <s> Google API Key
|
||||
height <n|256> Height in px
|
||||
labels <b|false> If true, show labels
|
||||
mode <s|'add'> Mode ('add' or 'define')
|
||||
|
|
@ -24,7 +23,6 @@ Ox.MapEditor = function(options, self) {
|
|||
var that = Ox.Element({}, self)
|
||||
.defaults({
|
||||
addPlace: null,
|
||||
apiKey: '',
|
||||
collapsible: false,
|
||||
editPlace: null,
|
||||
getMatches: null,
|
||||
|
|
@ -385,7 +383,6 @@ Ox.MapEditor = function(options, self) {
|
|||
.appendTo(self.$listStatusbar);
|
||||
|
||||
self.$map = Ox.Map({
|
||||
apiKey: self.options.apiKey,
|
||||
clickable: true,
|
||||
editable: true,
|
||||
findPlaceholder: Ox._('Find on Map'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue