Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit 3fea374

Browse files
committed
Version 1.2.0 Released
Code Review
1 parent f5308d1 commit 3fea374

8 files changed

+715
-15
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Use highly customizable maps (Google Maps) with multiple custom Markers in your
88

99

1010
### Current Version
11-
1.1.0 [*](https://github.com/furcan/Markers-On-Map/blob/master/ReleaseNotes.md)
11+
1.2.0 [*](https://github.com/furcan/Markers-On-Map/blob/master/ReleaseNotes.md)
1212

1313
### Website and Demo
1414
https://furcan.github.io/Markers-On-Map/
@@ -31,7 +31,7 @@ yarn add markers-on-map
3131
#### 1- JavaScript
3232

3333
```html
34-
<script src="dist/markers-on-map-1.1.0.js"></script>
34+
<script src="dist/markers-on-map-1.2.0.js"></script>
3535
```
3636

3737
#### 2- Initialize (Basic)

ReleaseNotes.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
@1.2.0
2+
* **Changed:** Code Review.
3+
4+
-----
5+
16
@1.1.0
27
* **Added:** Can use a callback function for each marker element clicked.
38

dist/markers-on-map-1.2.0.js

+693
Large diffs are not rendered by default.

index.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Markers On Map ('https://github.com/furcan/Markers-On-Map')
3-
* Version: 1.1.0
3+
* Version: 1.2.0
44
* Author: Furkan MT ('https://github.com/furcan')
55
* Copyright 2019 Markers On Map, MIT Licence ('https://opensource.org/licenses/MIT')*
66
*/
@@ -167,7 +167,7 @@ padding: 0 20px;}
167167
display: table;
168168
margin: auto;
169169
background: rgba(0, 0, 0, 0.15);
170-
padding: 15px 50px 20px;
170+
padding: 15px 45px 20px;
171171
border-radius: 100px;}
172172

173173
.map-wrapper .get-it-on p {
@@ -180,7 +180,7 @@ margin: 0 0 10px;}
180180
font-size: 34px;
181181
line-height: 34px;
182182
display: inline-table;
183-
margin: 0 10px;
183+
margin: 0 15px;
184184
color: #00e676;}
185185

186186
.map-wrapper .get-it-on a.npm {

index.html

+7-5
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@
2323
<meta name="designer" content="Furcan">
2424
<meta name="copyright" content="© 2019 Markers On Map. All Rights Reserved.">
2525

26+
<meta name="theme-color" content="#502974" />
27+
2628
<link rel="dns-prefetch" href="//fonts.googleapis.com" />
2729
<link id="FontMuli" href="https://fonts.googleapis.com/css?family=Muli:300,400,600,700,900&display=swap&subset=latin-ext" rel="stylesheet">
2830
<link id="FontConsolas" href="https://fonts.googleapis.com/css?family=Inconsolata:400,700&amp;subset=latin-ext" rel="stylesheet">
2931

30-
<link rel="stylesheet" href="index.css?v=1.1.0">
32+
<link rel="stylesheet" href="index.css?v=1.2.0">
3133

3234
</head>
3335

@@ -40,7 +42,7 @@
4042

4143
<div class="max-content">
4244
<div class="head">
43-
<h1 class="logo" data-toggle="tooltip" title="Current Version: v1.1.0"><a href="https://furcan.github.io/Markers-On-Map/">Markers On Map<i class="fab fa-js-square"></i></a></h1>
45+
<h1 class="logo" data-toggle="tooltip" title="Current Version: v1.2.0"><a href="https://furcan.github.io/Markers-On-Map/">Markers On Map<i class="fab fa-js-square"></i></a></h1>
4446
<p class="description">Use highly customizable maps (Google Maps) with multiple custom Markers.</p>
4547
</div>
4648

@@ -65,7 +67,7 @@ <h2><i class="fas fa-chevron-down"></i>Basic Usage</h2>
6567

6668
<code id="CodeJS">
6769
<span class="label">JavaScript</span>
68-
<span class="l1"><span class="char">&lt;</span><span class="bool">script</span> <span class="fnc1">src</span>=<span><span class="str">"/Markers-On-Map/dist/markers-on-map-1.1.0.js"</span></span><span class="char">&gt;&lt;/</span><span class="bool">script</span><span class="char">&gt;</span></span>
70+
<span class="l1"><span class="char">&lt;</span><span class="bool">script</span> <span class="fnc1">src</span>=<span><span class="str">"/Markers-On-Map/dist/markers-on-map-1.2.0.js"</span></span><span class="char">&gt;&lt;/</span><span class="bool">script</span><span class="char">&gt;</span></span>
6971
</code>
7072

7173
<code id="CodeInit">
@@ -231,12 +233,12 @@ <h2><i class="fas fa-chevron-down"></i>Advanced Usage</h2>
231233

232234
</div>
233235

234-
<script src="dist/markers-on-map-1.1.0.js"></script>
236+
<script src="dist/markers-on-map-1.2.0.js"></script>
235237
<script src="https://cdn.jsdelivr.net/npm/notiflix/dist/notiflix-aio-1.7.1.min.js"></script>
236238
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
237239
<script src="https://kit.fontawesome.com/833245c2e4.js"></script>
238240
<script src="index-tooltip.js"></script>
239-
<script src="index.js?v=1.1.0"></script>
241+
<script src="index.js?v=1.2.0"></script>
240242
</body>
241243

242244
</html>

index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/*!
22
* Markers On Map ('https://github.com/furcan/Markers-On-Map')
3-
* Version: 1.1.0
3+
* Version: 1.2.0
44
* Author: Furkan MT ('https://github.com/furcan')
55
* Copyright 2019 Markers On Map, MIT Licence ('https://opensource.org/licenses/MIT')*
66
*/
77

88
// DEMO: Markers On Map - Init and Run on
99
MarkersOnMap.Init({
10-
googleApiKey: 'AIzaSyBUV6KcfZOEDTkTMi0OZ1PcVL7QQHCL8U4',
10+
googleApiKey: 'AIzaSyBUV6KcfZOEDTkTMi0OZ1PcVL7QQHCL8U4', // this key restricted except this project
1111
googlePlacesApiEnabled: true,
1212
mapTypeId: 'terrain',
1313
mapHeight: '500px',
@@ -32,7 +32,7 @@ MarkersOnMap.Init({
3232
markerLat: 39.940516,
3333
markerLong: 32.823702,
3434
markerTitle: 'This marker has it\'s own custom content',
35-
markerContent: '<h3 style="text-align:center;margin:0 0 10px;">Custom Marker Content</h3><p style="text-align:center; margin:0 0 10px;">Custom Marker Description</p><button onclick="Notiflix.Notify.Success(\'Markers On Map\')" style="display:table;margin:auto;padding:8px 12px;border-radius:20px;font-weight:700;background:#502974;color:#fff;cursor:pointer;">Custom Button</button>',
35+
markerContent: '<h3 style="text-align:center;margin:0 0 10px;">Custom Marker Content</h3><p style="text-align:center; margin:0 0 10px;">Custom Marker Description</p><button onclick="Notiflix.Notify.Success(\'Custom Button Action\')" style="display:table;margin:auto;padding:8px 12px;border-radius:20px;font-weight:700;background:#502974;color:#fff;cursor:pointer;">Custom Button</button>',
3636
// markerContentFromGoogleQuery: 'Ataturk Culture Center',
3737
}
3838
],

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "markers-on-map",
3-
"main": "dist/markers-on-map-1.1.0.js",
4-
"version": "1.1.0",
3+
"main": "dist/markers-on-map-1.2.0.js",
4+
"version": "1.2.0",
55
"description": "Use highly customizable maps (Google Maps) with multiple custom Markers in your web projects.",
66
"homepage": "https://github.com/furcan/Markers-On-Map",
77
"files": [
File renamed without changes.

0 commit comments

Comments
 (0)