This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Based on process-example.lua | |
-- Assign nodes to a layer, and set attributes, based on OSM tags | |
function node_function(node) | |
-- POIs go to a "poi" layer (we just look for amenity and shop here) | |
local amenity = Find("amenity") | |
local shop = Find("shop") | |
if amenity~="" or shop~="" then | |
Layer("poi") | |
if amenity~="" then Attribute("class",amenity) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"layers": { | |
"place": { "minzoom": 0, "maxzoom": 14 }, | |
"poi": { "minzoom": 12, "maxzoom": 14 }, | |
"trail": { "minzoom": 6, "maxzoom": 14, "simplify_below": 13, "simplify_level": 0.0003, "simplify_ratio": 2.0 }, | |
"transportation": { "minzoom": 4, "maxzoom": 14, "simplify_below": 13, "simplify_level": 0.0003, "simplify_ratio": 2.0 }, | |
"water": { "minzoom": 6, "maxzoom": 14, "simplify_below": 12, "simplify_level": 0.0003, "simplify_ratio": 2.0 }, | |
"waterway": { "minzoom": 6, "maxzoom": 14, "simplify_below": 12, "simplify_level": 0.0003, "simplify_ratio": 2.0 }, | |
"park": { "minzoom": 9, "maxzoom": 14 } | |
}, |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { | |
StyleSheet, | |
} from 'react-native'; | |
import { Image } from 'react-native'; | |
import { Container, Content, Button, Text, Icon, Card, CardItem, Left, Body } from 'native-base'; | |
import {observer} from 'mobx-react'; | |
import applicationState from '../ApplicationState' | |
import { NavigationActions } from 'react-navigation' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { | |
StyleSheet, | |
} from 'react-native'; | |
import { Spinner, Container, Content, Button, List, ListItem, Text, Thumbnail, Body } from 'native-base'; | |
import {observer} from 'mobx-react'; | |
import applicationState from '../ApplicationState' | |
@observer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { | |
StyleSheet, | |
} from 'react-native'; | |
import { Container, Content, Button, Text, Icon } from 'native-base'; | |
import {observer} from 'mobx-react'; | |
import applicationState from '../ApplicationState' | |
import { NavigationActions } from 'react-navigation' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { | |
StyleSheet, | |
} from 'react-native'; | |
import { Container, Content, Button, Text, Icon } from 'native-base'; | |
import {observer} from 'mobx-react'; | |
import applicationState from '../ApplicationState' | |
import { NavigationActions } from 'react-navigation' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { | |
StyleSheet, | |
} from 'react-native'; | |
import { Spinner, Container, Content, Button, List, ListItem, Text } from 'native-base'; | |
import {observer} from 'mobx-react'; | |
import applicationState from '../ApplicationState' | |
@observer |
NewerOlder