From 28506dd42787dca81c0a6b137d072b70b9b9ab1e Mon Sep 17 00:00:00 2001 From: Michael Diego <6419886+itsmichaeldiego@users.noreply.github.com> Date: Thu, 23 Aug 2018 17:19:30 +0200 Subject: [PATCH] Fix old examples links and add one to new examples (#633) --- DOC.md | 2 +- README.md | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/DOC.md b/DOC.md index c2e0835..8cdfc08 100644 --- a/DOC.md +++ b/DOC.md @@ -118,7 +118,7 @@ marker position, and any other properties you want. At the example above I use some kind of rectangular distance. - [Other distanceToMouse example](https://github.com/google-map-react/google-map-react-examples/blob/dbfc2fcd381cc39da315875f5a45d4ebee765f26/web/flux/components/examples/x_distance_hover/distance_hover_map_page.jsx#L31-L46) + [Other distanceToMouse example](https://github.com/google-map-react/old-examples/blob/dbfc2fcd381cc39da315875f5a45d4ebee765f26/web/flux/components/examples/x_distance_hover/distance_hover_map_page.jsx#L31-L46) - `hoverDistance: number` distance threshold, diff --git a/README.md b/README.md index 19fe851..c1a4eaa 100644 --- a/README.md +++ b/README.md @@ -90,20 +90,20 @@ Now every object on the map can be hovered (however, you can still use css hover ## Examples * Placing react components on the map: -[simple](http://google-map-react.github.io/google-map-react/map/simple/) ([source](https://github.com/google-map-react/google-map-react-examples/blob/master/web/flux/components/examples/x_simple/simple_map_page.jsx)) +[simple](http://google-map-react.github.io/google-map-react/map/simple/) ([source](https://github.com/google-map-react/old-examples/blob/master/web/flux/components/examples/x_simple/simple_map_page.jsx)) * Custom map options: -[example](http://google-map-react.github.io/google-map-react/map/options/) ([source](https://github.com/google-map-react/google-map-react-examples/blob/master/web/flux/components/examples/x_options/options_map_page.jsx)) +[example](http://google-map-react.github.io/google-map-react/map/options/) ([source](https://github.com/google-map-react/old-examples/blob/master/web/flux/components/examples/x_options/options_map_page.jsx)) * Hover effects: -[simple hover](http://google-map-react.github.io/google-map-react/map/simple_hover/) ([source](https://github.com/google-map-react/google-map-react-examples/blob/master/web/flux/components/examples/x_simple_hover/simple_hover_map_page.jsx)); -[distance hover](http://google-map-react.github.io/google-map-react/map/distance_hover/) ([source](https://github.com/google-map-react/google-map-react-examples/blob/master/web/flux/components/examples/x_distance_hover/distance_hover_map_page.jsx)) +[simple hover](http://google-map-react.github.io/google-map-react/map/simple_hover/) ([source](https://github.com/google-map-react/old-examples/blob/master/web/flux/components/examples/x_simple_hover/simple_hover_map_page.jsx)); +[distance hover](http://google-map-react.github.io/google-map-react/map/distance_hover/) ([source](https://github.com/google-map-react/old-examples/blob/master/web/flux/components/examples/x_distance_hover/distance_hover_map_page.jsx)) * GoogleMap events: -[example](http://google-map-react.github.io/google-map-react/map/events/) ([source](https://github.com/google-map-react/google-map-react-examples/blob/master/web/flux/components/examples/x_events/events_map_page.jsx)) +[example](http://google-map-react.github.io/google-map-react/map/events/) ([source](https://github.com/google-map-react/old-examples/blob/master/web/flux/components/examples/x_events/events_map_page.jsx)) * Example project: -[main](http://google-map-react.github.io/google-map-react/map/main/) ([source](https://github.com/google-map-react/google-map-react-examples/blob/master/web/flux/components/examples/x_main/main_map_block.jsx)); [balderdash](http://google-map-react.github.io/google-map-react/map/balderdash/) (same source as main) +[main](http://google-map-react.github.io/google-map-react/map/main/) ([source](https://github.com/google-map-react/old-examples/blob/master/web/flux/components/examples/x_main/main_map_block.jsx)); [balderdash](http://google-map-react.github.io/google-map-react/map/balderdash/) (same source as main) * Clustering example (**new**: [source](https://github.com/istarkov/google-map-clustering-example)) [google-map-clustering-example](http://istarkov.github.io/google-map-clustering-example/) @@ -111,8 +111,9 @@ Now every object on the map can be hovered (however, you can still use css hover * How to render thousands of markers (**new**: [source](https://github.com/istarkov/google-map-thousands-markers)) [google-map-thousands-markers](https://istarkov.github.io/google-map-thousands-markers/) -* All api examples: -[google-map-react-examples](https://github.com/google-map-react/google-map-react-examples) +* Examples: +[Examples](https://github.com/google-map-react/google-map-react-examples) +[Old examples](https://github.com/google-map-react/old-examples) * jsbin example [jsbin example](https://jsbin.com/ruwogapuke/1/edit?js,output)