forked from ArveSystad/episerver-google-maps-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added help dialog. Fixed bug when clicking Google Places results. Cle…
…ar search text when coordinates are cleared. Support for negative coordinates.
- Loading branch information
Showing
5 changed files
with
66 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.editor-map-canvas {width: 100%; height: 240px; margin: 2px 0 5px 0} | ||
.editor-map-search {width: 408px;} | ||
.editor-map-coordinates {width:100%} | ||
.editor-map-clear {margin-right: 0} | ||
.editor-map-help { float: right;width: 32px;height: 32px;display:block} |
12 changes: 7 additions & 5 deletions
12
nuget/content/ClientResources/googlemaps/WidgetTemplate.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
<div class="dijitInline"> | ||
<div class="dijitInline google-maps-editor"> | ||
|
||
<input type="text" data-dojo-type="dijit/form/TextBox" data-dojo-attach-point="searchTextbox" placeholder="${localized.search}" style="width:99.5%" /> | ||
<input class="editor-map-search" type="text" data-dojo-type="dijit/form/TextBox" data-dojo-attach-point="searchTextbox" placeholder="${localized.search}" /> | ||
|
||
<div id="map-canvas" data-dojo-attach-point="canvas" style="width: 100%; height: 240px; margin: 2px 0 5px 0"></div> | ||
<a title="${localized.help.tooltip}" class="editor-map-help epi-iconHelp epi-icon--medium" href="#" data-dojo-attach-point="helpIcon"></a> | ||
|
||
<div class="dijitInputContainer"> | ||
<div class="editor-map-canvas" id="map-canvas" data-dojo-attach-point="canvas"></div> | ||
|
||
<div class="dijitInputContainer editor-map-coordinates"> | ||
<input type="text" disabled placeholder="${localized.latitude}" title="${localized.latitude}" data-dojo-type="dijit/form/TextBox" data-dojo-attach-point="latitudeTextbox" /> | ||
<input type="text" disabled placeholder="${localized.longitude}" title="${localized.longitude}" data-dojo-type="dijit/form/TextBox" data-dojo-attach-point="longitudeTextbox" /> | ||
<button data-dojo-type="dijit/form/Button" data-dojo-attach-point="clearButton" data-dojo-attach-event="onClick:clearCoordinates" data-dojo-props="iconClass:'dijitEditorIcon dijitEditorIconCancel', showLabel: false">${localized.clear}</button> | ||
<button class="editor-map-clear" data-dojo-type="dijit/form/Button" data-dojo-attach-point="clearButton" data-dojo-attach-event="onClick:clearCoordinates" data-dojo-props="iconClass:'dijitEditorIcon dijitEditorIconCancel', showLabel: false">${localized.clear}</button> | ||
</div> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters