X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fmapselect.html;fp=httemplate%2Felements%2Fmapselect.html;h=7d1447f9813665d9c4789d1bfc3eb8fc85c6a9e1;hp=0000000000000000000000000000000000000000;hb=07a1441c0fbce0a6ec76c7821e440444b4aec4f8;hpb=4c072dbb00979f34b9855b792253b612cc8b226c diff --git a/httemplate/elements/mapselect.html b/httemplate/elements/mapselect.html new file mode 100644 index 000000000..7d1447f98 --- /dev/null +++ b/httemplate/elements/mapselect.html @@ -0,0 +1,72 @@ +<%init> +my $conf = new FS::Conf; +my $apikey = $conf->config('google_maps_api_key'); + +my %opt = @_; + +# Currently requires two fields named 'latitude' and 'longitude'. +# Those should be in the edit form. This widget should NOT be in the +# edit form (or it will submit a bunch of spurious fields, plus pressing +# "enter" in the search box will submit the form). + + + + + +
+ + + + + +
+
+
+ +