Skip to content

Commit afcee4c

Browse files
committed
fix: readme and documentation. Removed securitykeys
1 parent 0aec9fb commit afcee4c

File tree

6 files changed

+14
-21
lines changed

6 files changed

+14
-21
lines changed

demo/autocomplete.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,7 @@
173173
<script>
174174
var config = {
175175
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
176-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
177-
organization_Id: '5de0387b12e200ea63204d6c'
176+
organization_Id: '5de0387b12e200ea63204d6c'
178177
}
179178
</script>
180179
<script type="text/javascript" src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>

demo/current-location.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@
9595
<script>
9696
var config = {
9797
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
98-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
99-
organization_Id: '5de0387b12e200ea63204d6c'
98+
organization_Id: '5de0387b12e200ea63204d6c'
10099
}
101100
//5ee2eae63e956152355a3446
102101
</script>

demo/direction.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,7 @@
173173
<script>
174174
var config = {
175175
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
176-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
177-
organization_Id: '5de0387b12e200ea63204d6c'
176+
organization_Id: '5de0387b12e200ea63204d6c'
178177
}
179178
</script>
180179
<!--<script src="https://cdn.cocreate.app/latest/CoCreate.min.js" ></script>-->

demo/fleet-tracking.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@
9595
<script>
9696
var config = {
9797
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
98-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
99-
organization_Id: '5de0387b12e200ea63204d6c'
98+
organization_Id: '5de0387b12e200ea63204d6c'
10099
}
101100
//5ee2eae63e956152355a3446
102101
</script>

demo/search.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@
5151
<script>
5252
var config = {
5353
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
54-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
55-
organization_Id: '5de0387b12e200ea63204d6c'
54+
organization_Id: '5de0387b12e200ea63204d6c'
5655
}
5756
</script>
5857
<script type="text/javascript" src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>

docs/index.html

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<meta name="description" content="A simple HTML5 and pure javascript component. Easy configuration using data-attributes and highly styleable." />
1010
<meta name="keywords" content="helper classes, utility classes, css framework, css library, inline style classes" />
1111
<meta name="robots" content="index,follow" />
12+
<meta property="og:image" content="https://cdn.cocreate.app/docs/google-maps.png">
1213

1314
<!-- CoCreate CSS -->
1415
<link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css"/>
@@ -20,7 +21,7 @@
2021
<div class="display:flex align-items:center">
2122
<h2>CoCreate-google-maps</h2>
2223
</div>
23-
<div class="display:flex align-items:center font-size:20px" data-share_height="600" data-share_width="500" data-share_media="https://via.placeholder.com/300/09f/fff.png">
24+
<div class="display:flex align-items:center font-size:20px" data-share_network="true" data-share_text="Enter decription here" data-share_title="testing im a title" data-share_height="600" data-share_width="700" data-share_media="https://cdn.cocreate.app/docs/google-maps.png">
2425
<a href="https://github.com/CoCreate-app/CoCreate-google-maps" target="_blank" class="margin-right:15px"><i class="fab fa-github"></i></a>
2526
<a class="margin-right:15px" data-share_network='twitter' title="Share on twitter"><i class="fab fa-twitter"></i></a>
2627
<a class="margin-right:15px" data-share_network='facebook' title="Share on Facebook"><i class="fab fa-facebook"></i></a>
@@ -33,7 +34,7 @@ <h2>CoCreate-google-maps</h2>
3334
<div class="flex-grow:1 width:300px padding:0px_10px margin:20px_0px">
3435

3536
<div id="google-maps-install" class="border-bottom:1px_solid_lightgrey">
36-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#google-maps-install"]'>
37+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#google-maps-install"]'>
3738
<h2 class="padding:5px_0px">Install</h2>
3839
<a class="margin-left:10px display:none" href="#google-maps-install"><i class="fas fa-link"></i></a>
3940
</span>
@@ -43,7 +44,7 @@ <h2 class="padding:5px_0px">Install</h2>
4344
<pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/google-maps/latest/CoCreate-google-maps.min.js&lt;/script&gt;</code></pre>
4445

4546
<div id="google-maps-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey">
46-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#google-maps-usage"]'>
47+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#google-maps-usage"]'>
4748
<h2 class="padding:5px_0px">Usage</h2>
4849
<a class="margin-left:10px display:none" href="#google-maps-usage"><i class="fas fa-link"></i></a>
4950
</span>
@@ -52,15 +53,13 @@ <h2 class="padding:5px_0px">Usage</h2>
5253
<p class="padding:10px_0px">This is google-maps reference</p>
5354

5455
<div class="flex-grow:1 min-width:300px width:100%">
55-
<pre>
56-
<code class="language-html">&lt;div&gt;&lt;/div&gt;</code>
57-
</pre>
56+
<pre><code class="language-html">&lt;div&gt;&lt;/div&gt;</code></pre>
5857
</div>
5958
<p class="padding:10px_0px">This is google-maps reference</p>
6059
<p class="padding:10px_0px">This is google-maps reference</p>
6160
</div>
6261
<div id="google-maps-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey">
63-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#google-maps-attributes"]'>
62+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#google-maps-attributes"]'>
6463
<h2 class="padding:5px_0px">Attributes</h2>
6564
<a class="margin-left:10px display:none" href="#google-maps-attributes"><i class="fas fa-link"></i></a>
6665
</span>
@@ -80,7 +79,7 @@ <h4><span>data-google-maps</span> <span class="cocreate-badge success">string</s
8079
<div class="flex-grow:1 width:300px padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
8180
<!-- SandBox -->
8281
<div id="google-maps-demo" class="border-bottom:1px_solid_lightgrey">
83-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#google-maps-demo"]'>
82+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#google-maps-demo"]'>
8483
<h2 class="padding:5px_0px">Demo</h2>
8584
<a class="margin-left:10px display:none" href="#google-maps-demo"><i class="fas fa-link"></i></a>
8685
</span>
@@ -104,7 +103,7 @@ <h2 class="padding:5px_0px">Demo</h2>
104103
class="margin-right:10px">
105104
<i class="fas fa-external-link-alt"></i>
106105
</a>
107-
<a class="fs-toggle margin-right:5px" target="#playground-1"><i class="fas fa-expand"></i></a>
106+
<a class="margin-right:5px" data-fullscreen target="#playground-1"><i class="fas fa-expand"></i></a>
108107
</div>
109108

110109
<div class="svRow">
@@ -138,8 +137,7 @@ <h2 class="padding:5px_0px">Demo</h2>
138137
<script>
139138
var config = {
140139
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
141-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
142-
organization_Id: '5de0387b12e200ea63204d6c'
140+
organization_Id: '5de0387b12e200ea63204d6c'
143141
}
144142
</script>
145143

0 commit comments

Comments
 (0)