Contributions
EasyMap V_1.0
This contribution adds a map to your shop via google's map API. The default settings show how lines can be drawn on the map to provide driving instrucitons. This would be limited to a local ara but may be useful to some people. It also has a Satellite display that is quite impressive. A google API key is required for this to work. See the instructions on how to obtain one.
This is a full release. If anyone uploads changes to this module, please have the courtesy to make it a full release. Not doing so causes too much confusion later on.
The support thread for this contribution is at
http://forums.oscommerce.com/index.php?showtopic=187470
Expand All / Collapse All
- Added option to allow the customer to resize the map
- Added option to allow the customer to change the map type
- Added language options for the language related items
- Corrected mistake in 2.3 readme install instructions
This is a full version.
The support thread for this contribution is at
http://forums.oscommerce.com/topic/187470-easymap/
This is a complete rewrite of this contribution using googles latest API. It is much easier to use than the previous versions. Only installation instructions are included. If you want to uninstall the previous version, you will need to reverse its install instructions.
This version is compatible with all versions of oscommerce.
The support thread for this contribution is at
http://forums.oscommerce.com/topic/187470-easymap/
V 2.4b - Added "customer can get detailed driving directions"
Beg your pardon that submitted the old files to this Add-on space in my last message.
This is not a full package release and tested under 2.2RC2a.
Files included is the update for Easymap V2.4 with the followings:
1.Upgrade Google Map API from V2 to V3.1,
2.file “catalog/easymap.php” is revised,
3.file “catalog/ includes/languages/english/easymap.php” is revised,
4.Street View feature is added.
Thanks Jank for your development and contribution of this Add-on.
This is not a full package release.
Files included is ONLY the update for Easymap V2.4 with the followings:
1.Upgrade Google Map API from V2 to V3.1,
2. file “catalog/easymap.php” is revised,
3. file “catalog/ includes/languages/english/easymap.php” is revised,
4. Street View feature is added.
Details can be found in the "install.txt" of this update "zip" file.
Thanks Jack's to develop and contribute such nice Add-ons.
EasyMap v2.4
- Fixed "Division by Zero" errors.
- Added column_right.php and fixed "button_continue.jpg" to ".gif" , as default osCommerce view.
- Added width, height and zoom level options.
- Added Turkish Translation.
- Tested for osCommerce 2.2-RC2a
I've added the possibility of choosing whether to show a Normal, Satellite or Hybrid map, at the same time 'ive translated the contribution, both admin and catalog parts.
Hope's useful
Sorry for uploading single file below. Here's the full package with the lat/long switched correction on easymap.php from line 106.
I followed all instructions including STS. Everything was working except the map was not showing in the background. Well, looks like on line 106 lat/long were switched -- the code was showing long/lat. I just switched them back and now it works!
On line 106 replace:
map.setCenter(new GLatLng(<?php echo $longitude; ?>, <?php echo $lattitude; ?>), 14);
With:
map.setCenter(new GLatLng(<?php echo $lattitude; ?>, <?php echo $longitude; ?>), 14);
Attachment is just the easymap.php from previous post's with above correction.
Fixed an SQL problem. I will get the hang of this soon enough.
I ironed out STS compatibility and fixed bugs from previous file.
EasyMap V 1.1 by Jack_mcs 12-31-05
This contribution uses the API provided by google to allow you to
add a map to your shop. It can be used to show location and give
driving instrucitons (although that is limited at this time).
This contribution is not yet compatible with Simple Template System. The next version will include a STS fix.
Tested on osCommerce 2.2-CVS
/**************************************************************/
HISTORY:
V 2.0 - Updated to follow Google Maps recent upgrade to Version 2
- Added tabbed, HTML compatible bubbles allowing logo and link addition on the map
- Added Scale
- Bubbles (tabs) are no longer "movable." They appear where the marker appears.
- Added other small features.
V 1.1 - Added fix to code to allow map to work with IE.
- Added Panning and Slide controls.
V 1.0 - Original upload
- Add code to fix problem with map displaying in IE
- Added panning and slide controls
This is a full version.
This contribution adds a map to your shop via google's map API. The default settings show how lines can be drawn on the map to provide driving instrucitons. This would be limited to a local ara but may be useful to some people. It also has a Satellite display that is quite impressive. A google API key is required for this to work. See the instructions on how to obtain one.
This is a full release. If anyone uploads changes to this module, please have the courtesy to make it a full release. Not doing so causes too much confusion later on.
The support thread for this contribution is at
http://forums.oscommerce.com/index.php?showtopic=187470
Note: Contributions are used at own risk.