Displaying 2 results from an estimated 2 matches for "mappingobject".
2007 Nov 05
1
marker event listeners
...m_plugin/overlay.rb (working copy)
@@ -25,11 +25,13 @@
end
#Creates a marker: If an info_window or info_window_tabs is
present, the response to the click action from the user is setup here.
def create
- if @options.empty?
- creation = "new
GMarker(#{MappingObject.javascriptify_variable(@point)})"
- else
- creation = "new
GMarker(#{MappingObject.javascriptify_variable(@point)},#{MappingObject.javascriptify_variable(@options)})"
+ creation = "new
GMarker(#{MappingObject.javascriptify_variable(@point)}"
+...
2004 Nov 19
18
SingleTableInheritance Considered Harmful
Here''s the text of a quick note I''ve added to the Inheritance wiki page.
I''m actually proposing that it would be a good idea to drop automatic
single table inheritance and force people to declare it explicitly.
There are two reasons for this:
1. Implicitly doing it unnecessarially limits your use of
inheritance where you really need it: in your object-oriented