Skip to content

Commit 26c6b8a

Browse files
committed
Support for bootstrap 3.2.0
1 parent ea35f59 commit 26c6b8a

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,11 @@ This repository contains the following:
4949
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
5050

5151
<!-- Step 1. Add CSS for Bootstrap, ArcGIS and Bootstrap-map-js -->
52-
53-
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet" media="screen">
52+
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" media="screen">
5453
<link rel="stylesheet" type="text/css" href="http://js.arcgis.com/3.10/js/esri/css/esri.css">
5554
<link rel="stylesheet" type="text/css" href="http://esri.github.io/bootstrap-map-js/src/css/bootstrapmap.css">
5655
<style>
57-
<!-- Set the responsive map size here -->
56+
/* Set the responsive map size here */
5857
#mapDiv {
5958
min-height:100px;
6059
max-height:500px;
@@ -65,7 +64,6 @@ This repository contains the following:
6564
<body>
6665

6766
<!-- Step 2. Add HTML to define the layout of the map and page -->
68-
6967
<div class="container" style="padding:15px;">
7068
<div class="row">
7169
<div class="col-xs-12">
@@ -86,7 +84,6 @@ This repository contains the following:
8684
</div>
8785

8886
<!-- Step 3. Add JS to Load the responsive map -->
89-
9087
<script type="text/javascript">
9188
var package_path = "//esri.github.com/bootstrap-map-js/src/js";
9289
var dojoConfig = {
@@ -111,9 +108,9 @@ This repository contains the following:
111108
</script>
112109

113110
<!-- jQuery (for Bootstrap's JavaScript plugins). NOTE: You can also use pure Dojo. See examples. -->
114-
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
111+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
115112
<!-- Include all plugins or individual files as needed -->
116-
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
113+
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
117114
</body>
118115
</html>
119116
```
@@ -138,7 +135,7 @@ Visit the [Getting Started Guide](http://esri.github.io/bootstrap-map-js/demo/in
138135

139136
## Developer Notes
140137

141-
* Bootstrap-map-js Styles Only: If you just want to use the styles and popup formatting, and you don't care about a responsive map, just reference bootstrapmap.css file to your projects. Take a look at these [examples](https://github.com/Esri/quickstart-map-js) to get see how to do this.
138+
* Bootstrapmap.css Only: If you just want to use the styles and popup formatting, and you don't care about a responsive map, just reference bootstrapmap.css in your projects. Take a look at these [examples](https://github.com/Esri/quickstart-map-js) to get see how to do this.
142139
* Responsive Map: You can only have one responsive map per page. You can have as many maps as you want that are fixed in size however.
143140
* ScrollwheelZoom: To enable scrollwheel zoom, set ```scrollWheelZoom: true``` in the constructor. A scrolling map will "slip" however if the page is larger than the viewport, therefore, this is set to ```false``` by default.
144141
* IE8 Support: Add the following shims to support IE8. For more information visit [getbootstrap.com](http://getbootstrap.com/getting-started/#support).

0 commit comments

Comments
 (0)