@brandingbrand/fslocator
Locator React Components
Last updated a year ago by bbtravis .
MIT · Original npm · Tarball · package.json
$ cnpm install @brandingbrand/fslocator 
SYNC missed versions from official npm registry.

FSLocator

image

Configurable store locator component for React and React Native projects.

Table of Contents

Configuration Options

Name Required? Description Default
brandId yes An ID corresponding to a brand in Branding Brand's store locator management system
searchBarProps no A collection of properties to be passed to the search bar component
locationItemProps no A collection of properties to be passed to the location item component
style no A React Native StyleSheet for styling the locator component
listStyle no A React Native StyleSheet for styling the location results list.
format no A string specifying the layout of the locator component. Valid options are list which renders a list view only, mapVertical which renders a map and list in vertical orientation, and mapHorizontal which renders a map and list in horizontal orientation. list
geoOptions no Geolocation options used for finding current location. React Native Geolocation enableHighAccuracy=true, timeout=10000, maximumAge=10000, distanceFilter=100

Developer Notes

Maps

FSLocator uses the react-native-maps components by Airbnb for native maps. The library utilizes the appropriate maps application for the OS -- Apple Maps for iOS and typically Google Maps for Android.

The web view utilizes google-map-react which is a React wrapper for the Google Maps API. The Google API key as well as the implementation resides in /src/components/MapView.web.tsx as of this writing.

Location Item Components

For reusability purposes, the LocationItem components which are used to display location results are located in the FSComponents package.

There are a number of available configurations for the location items. For example, templates are available with and without a detail button, phone button, and navigate button. The desired template should be specified by way of the "format" property in locationItemProps passed to the Locator component:

<Locator
  brandId="254"
  locationItemProps={{
    style: S.item,
    format: '5',
    navIcon: navIcon,
    phoneIcon: phoneIcon
  }}
  ...

Contributing

Please see the Contributing Guidelines.

Current Tags

  • 8.1.3-rnn2.0                                ...           canary (6 days ago)
  • 7.4.1                                ...           latest (8 days ago)

277 Versions

  • 8.1.3-rnn2.0                                ...           6 days ago
  • 8.1.1-rnn2.0                                ...           6 days ago
  • 8.1.0-rnn2.0                                ...           8 days ago
  • 7.4.1                                ...           8 days ago
  • 7.4.0                                ...           9 days ago
  • 7.3.0                                ...           9 days ago
  • 7.2.0                                ...           10 days ago
  • 7.1.1                                ...           13 days ago
  • 8.0.2-rnn2.0                                ...           14 days ago
  • 8.0.1-rnn2.0                                ...           15 days ago
  • 8.0.0-rnn2.0                                ...           15 days ago
  • 7.1.0                                ...           15 days ago
  • 6.0.0-rnn2.17                                ...           16 days ago
  • 7.0.0                                ...           20 days ago
  • 3.6.0                                ...           21 days ago
  • 3.5.1                                ...           23 days ago
  • 6.3.0                                ...           24 days ago
  • 6.2.0                                ...           a month ago
  • 6.1.4                                ...           a month ago
  • 6.0.0-alpha.16                                ...           a month ago
  • 6.1.3                                ...           a month ago
  • 6.1.0                                ...           a month ago
  • 6.0.0-alpha.15                                ...           a month ago
  • 5.0.1-alpha.15                                ...           a month ago
  • 6.0.0                                ...           a month ago
  • 6.0.0-alpha.13                                ...           2 months ago
  • 5.0.1-alpha.14                                ...           2 months ago
  • 5.3.0                                ...           2 months ago
  • 5.0.1-alpha.13                                ...           2 months ago
  • 5.2.0                                ...           2 months ago
  • 5.0.1-alpha.12                                ...           2 months ago
  • 5.1.1                                ...           2 months ago
  • 5.0.1-alpha.9                                ...           2 months ago
  • 5.1.0                                ...           2 months ago
  • 3.5.0                                ...           2 months ago
  • 3.4.0                                ...           2 months ago
  • 5.0.1-alpha.0                                ...           2 months ago
  • 5.0.0                                ...           2 months ago
  • 3.2.2-alpha.30                                ...           2 months ago
  • 3.3.0                                ...           3 months ago
  • 3.2.2-alpha.18                                ...           3 months ago
  • 3.2.2-alpha.15                                ...           3 months ago
  • 4.1.0                                ...           3 months ago
  • 3.2.2-alpha.10                                ...           3 months ago
  • 4.0.0                                ...           3 months ago
  • 4.0.0-alpha.3                                ...           3 months ago
  • 3.2.1                                ...           3 months ago
  • 4.0.0-alpha.2                                ...           3 months ago
  • 4.0.0-alpha.1                                ...           3 months ago
  • 4.0.0-alpha.0                                ...           3 months ago
  • 3.2.0                                ...           3 months ago
  • 3.1.1                                ...           4 months ago
  • 3.1.1-alpha.0                                ...           4 months ago
  • 3.1.0                                ...           4 months ago
  • 3.0.1-alpha.103                                ...           5 months ago
  • 3.0.1-alpha.102                                ...           5 months ago
  • 3.0.1-alpha.96                                ...           5 months ago
  • 3.0.1-alpha.95                                ...           5 months ago
  • 3.0.1-alpha.94                                ...           5 months ago
  • 3.0.1-alpha.93                                ...           5 months ago
  • 3.0.1-alpha.92                                ...           6 months ago
  • 3.0.1-alpha.91                                ...           6 months ago
  • 3.0.1-alpha.90                                ...           6 months ago
  • 3.0.1-alpha.89                                ...           6 months ago
  • 3.0.1-alpha.88                                ...           6 months ago
  • 3.0.1-alpha.85                                ...           6 months ago
  • 3.0.1-alpha.84                                ...           6 months ago
  • 3.0.1-alpha.83                                ...           6 months ago
  • 3.0.1-alpha.82                                ...           6 months ago
  • 3.0.1-alpha.81                                ...           6 months ago
  • 3.0.1-alpha.80                                ...           6 months ago
  • 3.0.1-alpha.79                                ...           6 months ago
  • 3.0.1-alpha.78                                ...           6 months ago
  • 3.0.1-alpha.77                                ...           6 months ago
  • 3.0.1-alpha.76                                ...           6 months ago
  • 3.0.1-alpha.75                                ...           6 months ago
  • 3.0.1-alpha.74                                ...           6 months ago
  • 3.0.1-alpha.73                                ...           6 months ago
  • 3.0.1-alpha.72                                ...           6 months ago
  • 3.0.1-alpha.70                                ...           6 months ago
  • 3.0.1-alpha.46                                ...           7 months ago
  • 3.0.1-alpha.45                                ...           7 months ago
  • 3.0.1-alpha.44                                ...           7 months ago
  • 3.0.1-alpha.43                                ...           7 months ago
  • 3.0.1-alpha.42                                ...           7 months ago
  • 3.0.1-alpha.40                                ...           7 months ago
  • 3.0.1-alpha.39                                ...           7 months ago
  • 3.0.1-alpha.38                                ...           7 months ago
  • 3.0.1-alpha.37                                ...           7 months ago
  • 3.0.1-alpha.35                                ...           7 months ago
  • 3.0.1-alpha.34                                ...           7 months ago
  • 3.0.1-alpha.32                                ...           7 months ago
  • 3.0.1-alpha.28                                ...           7 months ago
  • 3.0.1-alpha.27                                ...           7 months ago
  • 3.0.1-alpha.22                                ...           7 months ago
  • 3.0.1-alpha.20                                ...           7 months ago
  • 3.0.1-alpha.19                                ...           7 months ago
  • 3.0.1-alpha.18                                ...           7 months ago
  • 3.0.1-alpha.17                                ...           7 months ago
  • 3.0.1-alpha.16                                ...           7 months ago
  • 3.0.1-alpha.7                                ...           7 months ago
  • 3.0.1-alpha.6                                ...           7 months ago
  • 3.0.1-alpha.4                                ...           8 months ago
  • 3.0.1-alpha.3                                ...           8 months ago
  • 3.0.1-alpha.2                                ...           8 months ago
  • 3.0.0                                ...           8 months ago
  • 3.0.1-alpha.14                                ...           8 months ago
  • 3.0.1-alpha.13                                ...           8 months ago
  • 2.0.1-alpha.46                                ...           8 months ago
  • 2.0.1-alpha.45                                ...           8 months ago
  • 2.0.1-alpha.44                                ...           8 months ago
  • 2.0.1-alpha.42                                ...           8 months ago
  • 2.0.1-alpha.41                                ...           8 months ago
  • 3.0.1-alpha.1                                ...           8 months ago
  • 2.0.1-alpha.40                                ...           8 months ago
  • 2.0.1-alpha.39                                ...           8 months ago
  • 2.0.1-alpha.38                                ...           9 months ago
  • 2.0.1-alpha.37                                ...           9 months ago
  • 2.0.1-alpha.36                                ...           9 months ago
  • 2.0.1-alpha.35                                ...           9 months ago
  • 2.0.1-alpha.34                                ...           9 months ago
  • 2.0.1-alpha.33                                ...           9 months ago
  • 2.0.1-alpha.32                                ...           9 months ago
  • 2.0.1-alpha.31                                ...           9 months ago
  • 2.0.1-alpha.30                                ...           9 months ago
  • 2.0.1-alpha.28                                ...           9 months ago
  • 2.0.1-alpha.27                                ...           9 months ago
  • 2.0.1-alpha.26                                ...           9 months ago
  • 2.0.1-alpha.23                                ...           10 months ago
  • 2.0.1-alpha.22                                ...           10 months ago
  • 2.0.1-alpha.18                                ...           10 months ago
  • 2.0.1-alpha.17                                ...           10 months ago
  • 2.0.1-alpha.16                                ...           a year ago
  • 2.0.1-alpha.15                                ...           a year ago
  • 2.0.1-alpha.14                                ...           a year ago
  • 2.0.1-alpha.13                                ...           a year ago
  • 2.0.1-alpha.12                                ...           a year ago
  • 2.0.1-alpha.11                                ...           a year ago
  • 2.0.1-alpha.10                                ...           a year ago
  • 2.0.1-alpha.9                                ...           a year ago
  • 2.0.1-alpha.7                                ...           a year ago
  • 2.0.1-alpha.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 0.2.0-alpha.74e71f8c                                ...           a year ago
  • 0.2.0-alpha.03d713be                                ...           a year ago
  • 0.2.0-alpha.74b8b7f4                                ...           a year ago
  • 0.2.0-alpha.95dd219d                                ...           a year ago
  • 0.2.0-alpha.414d45f2                                ...           a year ago
  • 0.2.0-alpha.27bb3bd8                                ...           a year ago
  • 0.2.0-alpha.68357379                                ...           a year ago
  • 0.2.0-alpha.a96082b3                                ...           a year ago
  • 0.2.0-alpha.c7903ac2                                ...           a year ago
  • 0.2.0-alpha.c754ad35                                ...           a year ago
  • 0.2.0-alpha.adccb560                                ...           a year ago
  • 0.2.0-alpha.9426f892                                ...           a year ago
  • 0.2.0-alpha.b5f6b79d                                ...           a year ago
  • 0.2.0-alpha.8e9e5f73                                ...           a year ago
  • 0.2.0-alpha.e326bceb                                ...           a year ago
  • 0.2.0-alpha.cb1604dd                                ...           a year ago
  • 0.2.0-alpha.f2461fef                                ...           a year ago
  • 0.2.0-alpha.da0f2d11                                ...           a year ago
  • 0.2.0-alpha.8cc83689                                ...           a year ago
  • 0.2.0-alpha.47bc20f7                                ...           a year ago
  • 0.2.0-alpha.bbadd96c                                ...           a year ago
  • 0.2.0-alpha.41e794fd                                ...           a year ago
  • 0.2.0-alpha.7afadfed                                ...           a year ago
  • 0.2.0-alpha.3bf49fbd                                ...           a year ago
  • 0.2.0-alpha.1adff63a                                ...           a year ago
  • 0.2.0-alpha.3f287a06                                ...           a year ago
  • 0.2.0-alpha.be87dd01                                ...           a year ago
  • 0.2.0-alpha.837469bb                                ...           a year ago
  • 0.2.0-alpha.0bb130ca                                ...           a year ago
  • 0.2.0-alpha.bc4a19f7                                ...           a year ago
  • 0.2.0-alpha.a564fd22                                ...           a year ago
  • 0.2.0-alpha.864b0bb8                                ...           a year ago
  • 0.2.0-alpha.20a2b2ed                                ...           a year ago
  • 0.2.0-alpha.68b84b56                                ...           a year ago
  • 0.2.0-alpha.0f20dbf0                                ...           a year ago
  • 0.2.0-alpha.d2eafc2e                                ...           a year ago
  • 0.2.0-alpha.e2cc0f95                                ...           a year ago
  • 0.2.0-alpha.f4cb1884                                ...           a year ago
  • 0.2.0-alpha.a7e5bceb                                ...           a year ago
  • 0.2.0-alpha.14a5c57f                                ...           a year ago
  • 0.2.0-alpha.26a8dc9d                                ...           a year ago
  • 0.2.0-alpha.587df802                                ...           a year ago
  • 0.2.0-alpha.60583fda                                ...           a year ago
  • 0.2.0-alpha.0d466f67                                ...           a year ago
  • 0.2.0-alpha.8ce3cc7a                                ...           a year ago
  • 0.2.0-alpha.230cbfe8                                ...           a year ago
  • 0.2.0-alpha.79fd2218                                ...           a year ago
  • 0.2.0-alpha.83b6f01c                                ...           a year ago
  • 0.2.0-alpha.987931a8                                ...           a year ago
  • 0.2.0-alpha.1db13cba                                ...           a year ago
  • 0.2.0-alpha.23707849                                ...           a year ago
  • 0.2.0-alpha.21c2f4f6                                ...           a year ago
  • 0.2.0-alpha.49d305a0                                ...           a year ago
  • 0.2.0-alpha.61e2d50f                                ...           a year ago
  • 0.2.0-alpha.709ef378                                ...           a year ago
  • 0.2.0-alpha.5f599f3c                                ...           a year ago
  • 0.2.0-alpha.53dc2262                                ...           a year ago
  • 0.2.0-alpha.7ba6a941                                ...           a year ago
  • 0.2.0-alpha.409f7e9e                                ...           a year ago
  • 0.2.0-alpha.fed9b250                                ...           a year ago
  • 0.2.0-alpha.810c5dc1                                ...           a year ago
  • 0.2.0-alpha.3c023cbf                                ...           a year ago
  • 0.2.0-alpha.92e88d6d                                ...           a year ago
  • 0.2.0-alpha.0fc7e99d                                ...           a year ago
  • 0.2.0-alpha.3a450a5c                                ...           a year ago
  • 0.2.0-alpha.a63df2ca                                ...           a year ago
  • 0.2.0-alpha.f483bd88                                ...           a year ago
  • 0.2.0-alpha.f33a6b0c                                ...           a year ago
  • 0.2.0-alpha.a2323718                                ...           a year ago
  • 0.2.0-alpha.3d308725                                ...           a year ago
  • 0.2.0-alpha.442ed60e                                ...           a year ago
  • 0.2.0-alpha.c0ceb59d                                ...           a year ago
  • 0.2.0-alpha.0b0dd155                                ...           a year ago
  • 0.2.0-alpha.b64e30dd                                ...           a year ago
  • 0.2.0-alpha.700551d9                                ...           a year ago
  • 0.2.0-alpha.72c610d6                                ...           a year ago
  • 0.2.0-alpha.44a6626d                                ...           a year ago
  • 0.2.0-alpha.5a439850                                ...           a year ago
  • 0.2.0-alpha.50d491f0                                ...           a year ago
  • 0.2.0-alpha.d9a56009                                ...           a year ago
  • 0.2.0-alpha.46afc872                                ...           a year ago
  • 0.2.0-alpha.cd1cfac4                                ...           a year ago
  • 0.2.0-alpha.b4a85e8a                                ...           a year ago
  • 0.2.0-alpha.a84e12cd                                ...           a year ago
  • 0.2.0-alpha.0874d73b                                ...           a year ago
  • 0.2.0-alpha.288096b9                                ...           a year ago
  • 0.2.0-alpha.edb71636                                ...           a year ago
  • 0.2.0-alpha.d476994f                                ...           a year ago
  • 0.2.0-alpha.a677e08f                                ...           a year ago
  • 0.2.0-alpha.8195ad25                                ...           a year ago
  • 0.2.0-alpha.3971d89b                                ...           a year ago
  • 0.2.0-alpha.7f49f4e5                                ...           a year ago
  • 0.2.0-alpha.3f838cc9                                ...           a year ago
  • 0.2.0-alpha.943fe174                                ...           a year ago
  • 0.2.0-alpha.bd11590d                                ...           a year ago
  • 0.2.0-alpha.71820862                                ...           a year ago
  • 0.2.0-alpha.83aba47e                                ...           a year ago
  • 0.2.0-alpha.bc7219c1                                ...           a year ago
  • 0.2.0-alpha.a6ee192f                                ...           a year ago
  • 0.2.0-alpha.64333850                                ...           a year ago
  • 0.2.0-alpha.74aadba4                                ...           a year ago
  • 0.2.0-alpha.bbd56b44                                ...           a year ago
  • 0.2.0-alpha.d6236ad2                                ...           a year ago
  • 0.2.0-alpha.bb156bd9                                ...           a year ago
  • 0.2.0-alpha.b2a2bfc3                                ...           a year ago
  • 0.2.0-alpha.a0872f53                                ...           a year ago
  • 0.2.0-alpha.2383e1ac                                ...           a year ago
  • 0.2.0-alpha.808ad2a2                                ...           a year ago
  • 0.2.0-alpha.a834caa6                                ...           a year ago
  • 0.2.0-alpha.2105647                                ...           a year ago
  • 0.2.0-alpha.0880a1b5                                ...           a year ago
  • 0.2.0-alpha.33643ce7                                ...           a year ago
  • 0.2.0-alpha.cff15a98                                ...           a year ago
  • 0.2.0-alpha.f546f315                                ...           a year ago
  • 0.2.0-alpha.8d2fa0d5                                ...           a year ago
  • 0.2.0-alpha.0dbd965c                                ...           a year ago
  • 0.2.0-alpha.d53bf42b                                ...           a year ago
  • 0.2.0-alpha.9b3f5f43                                ...           a year ago
  • 0.2.0-alpha.bcdbbbc9                                ...           a year ago
  • 0.2.0-alpha.6db4b83c                                ...           a year ago
  • 0.2.0-alpha.e8c61611                                ...           a year ago
  • 0.2.0-alpha.02b91410                                ...           a year ago
  • 0.2.0-alpha.1c6ddbdd                                ...           a year ago
  • 0.2.0-alpha.331c05e7                                ...           a year ago
  • 0.2.0-alpha.159c4a6b                                ...           a year ago
  • 0.2.0-alpha.9a00966c                                ...           a year ago
  • 0.2.0-alpha.fad0a274                                ...           a year ago
  • 0.2.0-alpha.b606797b                                ...           a year ago
  • 0.2.0-alpha.eec415ab                                ...           a year ago
  • 0.2.0-alpha.0df49d9f                                ...           a year ago
  • 0.2.0-alpha.01da8a20                                ...           a year ago
  • 0.2.0-alpha.039a84f6                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 0.1.0-alpha.8204c6aa                                ...           a year ago

Copyright 2014 - 2016 © taobao.org |