Closed GoogleCodeExporter closed 8 years ago
WE know we can do it. Get your head around the code from that other site and
post subtasks.
We'll need to acknowledged that other site and check what license they have on
that page and if we can re-use it.
Original comment by zetapri...@gmail.com
on 15 Mar 2011 at 10:51
Original comment by jamb...@gmail.com
on 16 Mar 2011 at 7:18
I think that we can leave actual g-map related work as part of this task.
Creating the map functionality and kml generation is not Magento related but
should be accounted for time taken.
1. About location search - how do you picture this to look like? G-map
location search is context aware, meaning that looking for city of Toledo in
default (US) context returns city of Toledo in state of Ohio and in EU context
it returns Toledo Spain. Probably an admin page with default settings should be
made. To allow admin to set default store region. Another option is to pick up
set store locale and use it.
2. Close the shape - like delete polygon, or hide the map?
Original comment by jamb...@gmail.com
on 16 Mar 2011 at 8:07
Location search - they can always enter Toledo Spain or Toledo Ohio. Wouldn't
worry about it much.
Close shape and to connect the end of the current node to the beginning of the
first node closing off the polyline into a polygon. Does it make sense? Or are
they always closed off if we build a polygon?
I'd still post subtasks to keep it clean. It's no joy to wade thru 10 pages of
comments.
Original comment by zetapri...@gmail.com
on 16 Mar 2011 at 10:20
Original comment by zetapri...@gmail.com
on 16 Mar 2011 at 10:22
There are different things - polygons and polylines. Polygons are always closed.
So far I have been working only with polygons. Do you want to use polylines
instead?
Original comment by jamb...@gmail.com
on 17 Mar 2011 at 9:49
Stick with polygons.
Original comment by zetapri...@gmail.com
on 17 Mar 2011 at 10:39
Initial version deployed to mageimage.
A product with couple of such options:
http://ec2-174-129-95-130.compute-1.amazonaws.com/mageimage/non-w2p-04.html
1. To have google map as an option, you have to add a custom option of type
field (plain text input) and make sure its title ends with ***kml***
2. Clicking the map on product page adds the option to current order process
and updates product price as for any other custom option.
3. The last point clicked has the default Google map marker attached. Clicking
on the marker will undo last click.
4. Clicking on polygon itself pop ups a dialog asking if you want to start over.
Choosing yes will delete entire polygon, no will do nothing.
5. In top center of each map there is small search input, you can type in an
address and Google will try to center the map on first matching location it
finds.
6. Upon first loading of maps, they try to find out user location (using
browser capabilities) this worked for me in IE8, IE9, FF, Chrome and Opera. In
all those browsers there is a browser dialog of some sort asking for permission
to share location. If permission is granted, map should be centered near user's
current location at a few hundred meters altitude.
7. If a polygon is made and product is added to cart, polygon data is saved to
custom table and text option receives some custom html markup for content.
The markup is an img tag that points to static version of the map with polygon
in it.
The image is set to be 300 x 200 pixels. This static version of the map is
shown on every page where the option would be displayed - cart, checkout
review, frontend order details, admin order details.
8. On order details pages there is also a link bellow the static map pointing
to generated KML file which can be downloaded and opened in Google Earth (or
any other software that knows KML)
Original comment by jamb...@gmail.com
on 23 Mar 2011 at 7:30
There was no map on the page, only a blank map placeholder.
FF 3.6.16
Original comment by zetapri...@gmail.com
on 23 Mar 2011 at 9:11
/mageimage/ is about to be reinstalled.
Map feature is in currently in there.
Petar, please backup anything you need to or whatever, as soon as possible.
Original comment by agur...@gmail.com
on 25 Mar 2011 at 9:57
No problem, reinstall.
Can you remind me the reinstall procedure that you follow?
Original comment by jamb...@gmail.com
on 25 Mar 2011 at 10:06
Petar, you can use magedev (M. 1.4.2.0) if M. version is suited for you. Just
re-install it.
Use to reinstall magedev:
http://ec2-174-129-95-130.compute-1.amazonaws.com:81/cgi-bin/magedev-reinstall
Use to reinstall mageimage:
http://ec2-174-129-95-130.compute-1.amazonaws.com:81/cgi-bin/mageimage-reinstall
Original comment by Anatoly....@gmail.com
on 25 Mar 2011 at 10:12
Thanks, I probably will reinstall it. It seems kind of broken to me atm.
Original comment by jamb...@gmail.com
on 25 Mar 2011 at 10:37
If all Stream-Map issues pass tests, we should close this one.
Original comment by jamb...@gmail.com
on 5 Apr 2011 at 11:41
They are all Test OK except this one:
http://code.google.com/p/magento-w2p/issues/detail?id=505
Original comment by agur...@gmail.com
on 6 Apr 2011 at 3:43
Original comment by ad...@zetaprints.com
on 20 Apr 2011 at 7:35
Original issue reported on code.google.com by
zetapri...@gmail.com
on 1 Mar 2011 at 7:37