Skip to content

Instantly share code, notes, and snippets.

View hhkaos's full-sized avatar
🏠
Working from home

Raul Jimenez Ortega hhkaos

🏠
Working from home
View GitHub Profile
@hhkaos
hhkaos / README.md
Last active July 6, 2021 06:16
Web developers talks in the Esri Developer Summit 2021

Topics:

  • ArcGIS API for JavaScript
  • Esri's Design System / Calcite Design System
  • Extending Survey123 (Survey123 Web App JS API)

ArcGIS API for JavaScript

Find all talks on this Youtube playlist

@hhkaos
hhkaos / DJI_0063.GPX
Created May 12, 2021 09:07
DJI_0063.GPX
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" version="1.1" creator="dji-srt-viewer"><metadata/><trk><name>DJI_0063</name><desc>source=dji-srt-parser
name=DJI_0063
FRAMECNT=1
DIFFTIME=33
ISO=100
SHUTTER=1000
FNUM=2.8
EV=-0.3
CT=5037
FOCAL_LEN=280
@hhkaos
hhkaos / string-similarity
Created April 7, 2021 05:06
Check if two strings are similar using string-similary
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta
http-equiv="X-UA-Compatible"
content="IE=edge"
>
<meta
require([
...
],
function(
...
){
on(dojo.byId("pintaYQuery"), "click", function (){
tb = new Draw(map);
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
YEAR;NATIONALITY;AMOUNT;;
2010;ALEMANIA;1;;
2010;ARGELIA;11;;
2010;ARGENTINA;29;;
2010;BOLIVIA;144;;
2010;BRASIL;23;;
2010;BURKINA FASO;2;;
2010;CHILE;16;;
2010;CHINA;5;;
2010;COLOMBIA;237;;
<html>
<head>
<style>#mapDiv,body,html{width:100%; height:400px;margin:0;padding:0}</style>
</head>
<body>
<h1>Search places in ArcGIS</h1>
<div id="mapDiv"></div>
<script type="module">
import MapView from "https://js.arcgis.com/4.18/@arcgis/core/views/MapView.js";
import Locator from "https://js.arcgis.com/4.18/@arcgis/core/tasks/Locator.js";
<html>
<head>
<style>#mapDiv,body,html{width:100%; height:400px;margin:0;padding:0}</style>
</head>
<body>
<h1>Search places in Google Maps</h1>
<div id="mapDiv"></div>
<script>
function initMap() {
<html>
<head>
<style>#mapDiv{width:100%; height:400px}</style>
</head>
<body>
<h1>Drawing marker in Google Maps</h1>
<div id="mapDiv"></div>
<script>
function initMap() {
const map = new google.maps.Map(document.getElementById('mapDiv'), {
<html>
<head>
<style>#mapDiv{width:100%; height:400px}</style>
</head>
<body>
<h1>Drawing marker in ArcGIS</h1>
<div id="mapDiv"></div>
<script type="module">
import MapView from "https://js.arcgis.com/4.18/@arcgis/core/views/MapView.js";
@hhkaos
hhkaos / svg-with-leaflet.html
Created January 26, 2021 09:47
Simple svg map
<html>
<head>
<style>
#map {
height: 400px;
}
</style>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script>
</head>