ym4r 0.0.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README +24 -8
- data/lib/ym4r.rb +3 -4
- data/lib/ym4r/google_maps.rb +7 -0
- data/lib/ym4r/google_maps/api_key.rb +10 -0
- data/lib/ym4r/google_maps/config/config.yml +1 -0
- data/lib/ym4r/google_maps/control.rb +59 -0
- data/lib/ym4r/google_maps/helper.rb +19 -0
- data/lib/ym4r/google_maps/map.rb +94 -0
- data/lib/ym4r/google_maps/mapping.rb +70 -0
- data/lib/ym4r/google_maps/overlay.rb +125 -0
- data/lib/ym4r/google_maps/point.rb +34 -0
- data/lib/ym4r/yahoo_maps.rb +2 -0
- data/lib/ym4r/yahoo_maps/app_id.rb +5 -0
- data/lib/ym4r/yahoo_maps/building_block.rb +4 -0
- data/lib/ym4r/yahoo_maps/building_block/exception.rb +21 -0
- data/lib/ym4r/yahoo_maps/building_block/geocoding.rb +81 -0
- data/lib/ym4r/yahoo_maps/building_block/local_search.rb +156 -0
- data/lib/ym4r/yahoo_maps/building_block/map_image.rb +75 -0
- data/lib/ym4r/yahoo_maps/building_block/traffic.rb +120 -0
- data/lib/ym4r/yahoo_maps/flash.rb +7 -0
- data/lib/ym4r/yahoo_maps/flash/latlon.rb +18 -0
- data/lib/ym4r/yahoo_maps/flash/map.rb +74 -0
- data/lib/ym4r/yahoo_maps/flash/mapping.rb +71 -0
- data/lib/ym4r/yahoo_maps/flash/marker.rb +43 -0
- data/lib/ym4r/yahoo_maps/flash/overlay.rb +44 -0
- data/lib/ym4r/yahoo_maps/flash/tool.rb +30 -0
- data/lib/ym4r/yahoo_maps/flash/widget.rb +33 -0
- data/rakefile.rb +4 -4
- data/test/test_geocoding.rb +3 -3
- data/test/test_local_search.rb +2 -2
- data/test/test_map_image.rb +3 -3
- data/test/test_maps.rb +14 -0
- data/test/test_traffic.rb +1 -1
- metadata +30 -9
- data/lib/ym4r/app_id.rb +0 -3
- data/lib/ym4r/building_block/geocoding.rb +0 -81
- data/lib/ym4r/building_block/local_search.rb +0 -156
- data/lib/ym4r/building_block/map_image.rb +0 -76
- data/lib/ym4r/building_block/traffic.rb +0 -120
- data/lib/ym4r/exception.rb +0 -18
data/lib/ym4r/exception.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
module Ym4r
|
2
|
-
#Raised if the rate limit per 24 hours per IP is reached
|
3
|
-
class RateLimitExceededException < StandardError
|
4
|
-
end
|
5
|
-
|
6
|
-
#Raised if the Yahoo Maps building bloc service is unreachable
|
7
|
-
class ConnectionException < StandardError
|
8
|
-
end
|
9
|
-
|
10
|
-
#Raised if the service returns an HTTP error (due to bad arguments passed to the service)
|
11
|
-
class BadRequestException < StandardError
|
12
|
-
end
|
13
|
-
|
14
|
-
#Raised if all the data needed is not passed to the get method of the service
|
15
|
-
class MissingParameterException < StandardError
|
16
|
-
end
|
17
|
-
|
18
|
-
end
|