Skip to content

Commit 3cfbb19

Browse files
Changes after review
1 parent 1577e7b commit 3cfbb19

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Readme.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,10 @@
33
[![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/T108722)
44
[![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183)
55
<!-- default badges end -->
6-
<!-- default file list -->
7-
*Files to look at*:
86

9-
<!-- default file list end -->
107
# dxMap - How to add a marker with a label
11-
<!-- run online -->
12-
**[[Run Online]](https://codecentral.devexpress.com/t108722/)**
13-
<!-- run online end -->
14-
15-
16-
<p>This example demonstrates how to add a marker with a label to the Google map. We used the <a href="http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.8/docs/reference.html">MarkerWithLabel</a> class for this task. This class constructor requires the Google map instance. dxMap allows obtaining the instance in the <a href="http://phonejs.devexpress.com/Documentation/ApiReference/Widgets/dxMap/Configuration?version=13_2#readyAction">dxMap.readyAction</a> event handler using the <strong>originalMap</strong> parameter. The <a href="http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.8/docs/examples.html">MarkerWithLabel Examples</a> web page demonstrates how to use the <strong>MarkerWithLabel</strong> class. We can use the same code in the <strong>dxMap.readyAction</strong> event handler. However, we should remember that dxMap loads the map's APIs dynamically and that is why we need to load a file that contains code for the <strong>MarkerWithLabel</strong> class when a map is completely loaded. We used <a href="http://api.jquery.com/jquery.getscript/">jQuery.getScript</a> for this purpose as shown below:<br /><br /></p>
178

9+
This example demonstrates how to add a marker with a label to the Google map. We used the <a href="http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.8/docs/reference.html">MarkerWithLabel</a> class for this task. This class constructor requires the Google map instance. dxMap allows obtaining the instance in the <a href="http://phonejs.devexpress.com/Documentation/ApiReference/Widgets/dxMap/Configuration?version=13_2#readyAction">dxMap.readyAction</a> event handler using the <strong>originalMap</strong> parameter. The <a href="http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.8/docs/examples.html">MarkerWithLabel Examples</a> web page demonstrates how to use the <strong>MarkerWithLabel</strong> class. We can use the same code in the <strong>dxMap.readyAction</strong> event handler. However, we should remember that dxMap loads the map's APIs dynamically and that is why we need to load a file that contains code for the <strong>MarkerWithLabel</strong> class when a map is completely loaded. We used <a href="http://api.jquery.com/jquery.getscript/">jQuery.getScript</a> for this purpose as shown below:
1810

1911
```js
2012
readyAction: function (s) {
@@ -32,9 +24,17 @@ readyAction: function (s) {
3224
}
3325
```
3426

27+
## Files to Review
28+
29+
- **jQuery**
30+
- [index.html](jQuery/index.html)
31+
- [script.js](jQuery/script.js)
3532

36-
<p><br /><strong>See also:</strong><br /><a href="https://www.devexpress.com/Support/Center/p/E4734">dxMap - How to add the current location marker</a> <br /><a href="https://www.devexpress.com/Support/Center/p/E4639">dxMap - How to add draggable markers</a> </p>
33+
## Documentation
3734

38-
<br/>
35+
- [Map Overview](https://js.devexpress.com/Documentation/Guide/UI_Components/Map/Overview/)
36+
- [Map - API Reference](https://js.devexpress.com/Documentation/ApiReference/UI_Components/dxMap/)
3937

38+
## See Also
4039

40+
- [Map for DevExtreme - How to add the current location marker](https://www.devexpress.com/Support/Center/p/E4734)

0 commit comments

Comments
 (0)