Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cedarmaps-sdk-web-vector-public
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cedar Studios
cedarmaps-sdk-web-vector-public
Commits
09856543
Commit
09856543
authored
Aug 13, 2018
by
Deployer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Imporved README file
parent
2f1acb1a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
README.md
README.md
+5
-4
No files found.
README.md
View file @
09856543
...
...
@@ -24,10 +24,11 @@ and put the following code in the `<body>` of your HTML file:
<div
id=
'map'
style=
'width: 400px; height: 300px;'
></div>
<script
type=
"text/javascript"
>
var
accessToken
=
'ACCESS TOKEN'
// You can get an access token by filling out the demo account form in https://www.cedarmaps.com/#demo
var
map
=
CedarMaps
.
map
(
accessToken
,
{
style
:
'cedarmaps://styles/light'
,
//or cedarmaps://styles/dark
container
:
<
CONTAINER
ID
>
,
center
:
<
CENTER
POINT
>
,
container
:
'map'
,
center
:
[
51.391827
,
35.694875
]
,
zoom
:
15
});
</script>
...
...
@@ -39,8 +40,8 @@ If you prefer to have your local version of the library you can simply build it
**Note:**
[
node.js
](
http://nodejs.org/
)
must be installed on your machine.
```
sh
git clone http://gitlab.cedar.ir/cedar.studios/cedarmaps-sdk-web-vector.git
cd
cedarmaps-sdk-web-vector
git clone http://gitlab.cedar.ir/cedar.studios/cedarmaps-sdk-web-vector
-public
.git
cd
cedarmaps-sdk-web-vector
-public
npm
install
npx webpack
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment